Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.simplisafe.SimpliSafe Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, ConfigEntry entry, API api)
 
None async_init (self)
 
None async_update (self)
 

Public Attributes

 coordinator
 
 entry
 
 systems
 

Private Member Functions

None _async_cancel_websocket_loop (self)
 
None _async_process_new_notifications (self, SystemType system)
 
None _async_start_websocket_loop (self)
 
None _async_websocket_on_event (self, WebsocketEvent event)
 

Private Attributes

 _api
 
 _hass
 
 _websocket_reconnect_task
 

Detailed Description

Define a SimpliSafe data object.

Definition at line 419 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.simplisafe.SimpliSafe.__init__ (   self,
HomeAssistant  hass,
ConfigEntry  entry,
API  api 
)
Initialize.

Definition at line 422 of file __init__.py.

Member Function Documentation

◆ _async_cancel_websocket_loop()

None homeassistant.components.simplisafe.SimpliSafe._async_cancel_websocket_loop (   self)
private
Stop any existing websocket reconnection loop.

Definition at line 494 of file __init__.py.

◆ _async_process_new_notifications()

None homeassistant.components.simplisafe.SimpliSafe._async_process_new_notifications (   self,
SystemType  system 
)
private
Act on any new system notifications.

Definition at line 437 of file __init__.py.

◆ _async_start_websocket_loop()

None homeassistant.components.simplisafe.SimpliSafe._async_start_websocket_loop (   self)
private
Start a websocket reconnection loop.

Definition at line 473 of file __init__.py.

◆ _async_websocket_on_event()

None homeassistant.components.simplisafe.SimpliSafe._async_websocket_on_event (   self,
WebsocketEvent  event 
)
private
Define a callback for receiving a websocket event.

Definition at line 508 of file __init__.py.

◆ async_init()

None homeassistant.components.simplisafe.SimpliSafe.async_init (   self)
Initialize the SimpliSafe "manager" class.

Definition at line 539 of file __init__.py.

◆ async_update()

None homeassistant.components.simplisafe.SimpliSafe.async_update (   self)
Get updated data from SimpliSafe.

Definition at line 612 of file __init__.py.

Member Data Documentation

◆ _api

homeassistant.components.simplisafe.SimpliSafe._api
private

Definition at line 424 of file __init__.py.

◆ _hass

homeassistant.components.simplisafe.SimpliSafe._hass
private

Definition at line 425 of file __init__.py.

◆ _websocket_reconnect_task

homeassistant.components.simplisafe.SimpliSafe._websocket_reconnect_task
private

Definition at line 490 of file __init__.py.

◆ coordinator

homeassistant.components.simplisafe.SimpliSafe.coordinator

Definition at line 577 of file __init__.py.

◆ entry

homeassistant.components.simplisafe.SimpliSafe.entry

Definition at line 428 of file __init__.py.

◆ systems

homeassistant.components.simplisafe.SimpliSafe.systems

Definition at line 560 of file __init__.py.


The documentation for this class was generated from the following file: