Public Member Functions | |
| None | __init__ (self, Context|None context=None, str|None user_id=None, str|None entity_id=None, str|None config_entry_id=None, str|None perm_category=None, str|None permission=None) |
Public Member Functions inherited from homeassistant.exceptions.HomeAssistantError | |
| None | __init__ (self, *object args, str|None translation_domain=None, str|None translation_key=None, dict[str, str]|None translation_placeholders=None) |
| str | __str__ (self) |
Public Attributes | |
| config_entry_id | |
| context | |
| entity_id | |
| perm_category | |
| permission | |
| user_id | |
Public Attributes inherited from homeassistant.exceptions.HomeAssistantError | |
| generate_message | |
| translation_domain | |
| translation_key | |
| translation_placeholders | |
Additional Inherited Members | |
Static Public Attributes inherited from homeassistant.exceptions.HomeAssistantError | |
| bool | |
| None | |
When an action is unauthorized.
Definition at line 226 of file exceptions.py.
| None homeassistant.exceptions.Unauthorized.__init__ | ( | self, | |
| Context | None | context = None, |
||
| str | None | user_id = None, |
||
| str | None | entity_id = None, |
||
| str | None | config_entry_id = None, |
||
| str | None | perm_category = None, |
||
| str | None | permission = None |
||
| ) |
Unauthorized error.
Definition at line 229 of file exceptions.py.
| homeassistant.exceptions.Unauthorized.config_entry_id |
Definition at line 247 of file exceptions.py.
| homeassistant.exceptions.Unauthorized.context |
Definition at line 240 of file exceptions.py.
| homeassistant.exceptions.Unauthorized.entity_id |
Definition at line 246 of file exceptions.py.
| homeassistant.exceptions.Unauthorized.perm_category |
Definition at line 250 of file exceptions.py.
| homeassistant.exceptions.Unauthorized.permission |
Definition at line 251 of file exceptions.py.
| homeassistant.exceptions.Unauthorized.user_id |
Definition at line 245 of file exceptions.py.