core/script/scaffold/templates/backup/integration/backup.py

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."""