Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, ConfigEntry config_entry) |
| None | async_connect (self) |
| None | async_create_entity (self, *args, **kwargs) |
| None | async_create_entity_lazy (self, is_device=True) |
| bool | async_reset (self) |
| bool | async_setup (self, int tries=0) |
| None | async_update (self, *args, **kwargs) |
| AsyncHome | get_hap (self, HomeAssistant hass, str|None hapid, str|None authtoken, str|None name) |
| None | get_state (self) |
| None | get_state_finished (self, future) |
| None | set_all_to_unavailable (self) |
| None | shutdown (self, event) |
| None | update_all (self) |
Public Attributes | |
| config_entry | |
| hass | |
| hmip_device_by_entity_id | |
| home | |
Private Attributes | |
| _accesspoint_connected | |
| _retry_task | |
| _tries | |
| _ws_close_requested | |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| ConfigEntry | config_entry | ||
| ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.async_connect | ( | self | ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.async_create_entity | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.async_create_entity_lazy | ( | self, | |
is_device = True |
|||
| ) |
| bool homeassistant.components.homematicip_cloud.hap.HomematicipHAP.async_reset | ( | self | ) |
| bool homeassistant.components.homematicip_cloud.hap.HomematicipHAP.async_setup | ( | self, | |
| int | tries = 0 |
||
| ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.async_update | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
Async update the home device. Triggered when the HMIP HOME_CHANGED event has fired. There are several occasions for this event to happen. 1. We are interested to check whether the access point is still connected. If not, entity state changes cannot be forwarded to hass. So if access point is disconnected all devices are set to unavailable. 2. We need to update home including devices and groups after a reconnect. 3. We need to update home without devices and groups in all other cases.
| AsyncHome homeassistant.components.homematicip_cloud.hap.HomematicipHAP.get_hap | ( | self, | |
| HomeAssistant | hass, | ||
| str | None | hapid, | ||
| str | None | authtoken, | ||
| str | None | name | ||
| ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.get_state | ( | self | ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.get_state_finished | ( | self, | |
| future | |||
| ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.set_all_to_unavailable | ( | self | ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.shutdown | ( | self, | |
| event | |||
| ) |
| None homeassistant.components.homematicip_cloud.hap.HomematicipHAP.update_all | ( | self | ) |
|
private |
|
private |
|
private |
|
private |
| homeassistant.components.homematicip_cloud.hap.HomematicipHAP.config_entry |
| homeassistant.components.homematicip_cloud.hap.HomematicipHAP.hass |
| homeassistant.components.homematicip_cloud.hap.HomematicipHAP.hmip_device_by_entity_id |
| homeassistant.components.homematicip_cloud.hap.HomematicipHAP.home |