Files
HomeAssistantVS/custom_components/powercalc/power_profile/error.py
T
2026-06-11 11:50:50 -04:00

14 lines
376 B
Python

from homeassistant.exceptions import HomeAssistantError
class LibraryError(HomeAssistantError):
"""Raised when an error occurred in the library logic."""
class LibraryLoadingError(LibraryError):
"""Raised when an error occurred during library loading."""
class ProfileDownloadError(LibraryError):
"""Raised when an error occurred during profile download."""