Home Assistant Unofficial Reference 2024.12.1
errors.py
Go to the documentation of this file.
1 """Exceptions raised by Intergas InComfort integration."""
2 
3 from homeassistant.core import DOMAIN as HOMEASSISTANT_DOMAIN
4 from homeassistant.exceptions import ConfigEntryNotReady, HomeAssistantError
5 
6 
8  """Raise exception if no Lan2RF Gateway was found."""
9 
10  translation_domain = HOMEASSISTANT_DOMAIN
11  translation_key = "not_found"
12 
13 
15  """Raise exception if no heaters are found."""
16 
17  translation_domain = HOMEASSISTANT_DOMAIN
18  translation_key = "no_heaters"
19 
20 
22  """Raise exception if no heaters are found."""
23 
24  translation_domain = HOMEASSISTANT_DOMAIN
25  translation_key = "timeout_error"
26 
27 
29  """Raise exception if no heaters are found."""
30 
31  translation_domain = HOMEASSISTANT_DOMAIN
32  translation_key = "unknown"