mirror of https://github.com/home-assistant/core
12 lines
324 B
Python
12 lines
324 B
Python
"""Backup platform for the NEW_NAME integration."""
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
|
|
async def async_pre_backup(hass: HomeAssistant) -> None:
|
|
"""Perform operations before a backup starts."""
|
|
|
|
|
|
async def async_post_backup(hass: HomeAssistant) -> None:
|
|
"""Perform operations after a backup finishes."""
|