Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.zwave_js.NodeEvents Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, ControllerEvents controller_events)
 
None async_handle_discovery_info (self, dr.DeviceEntry device, ZwaveDiscoveryInfo disc_info, dict[str, ZwaveDiscoveryInfo] value_updates_disc_info)
 
None async_on_node_ready (self, ZwaveNode node)
 
None async_on_notification (self, dict[str, Any] event)
 
None async_on_value_added (self, dict[str, ZwaveDiscoveryInfo] value_updates_disc_info, Value value)
 
None async_on_value_notification (self, ValueNotification notification)
 
None async_on_value_updated_fire_event (self, dict[str, ZwaveDiscoveryInfo] value_updates_disc_info, Value value)
 

Public Attributes

 config_entry
 
 controller_events
 
 dev_reg
 
 ent_reg
 
 hass
 

Detailed Description

Represent node events.

Handle the following events:
- ready
- value added
- value updated
- metadata updated
- value notification
- notification

Definition at line 592 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.zwave_js.NodeEvents.__init__ (   self,
HomeAssistant  hass,
ControllerEvents   controller_events 
)
Set up the node events instance.

Definition at line 604 of file __init__.py.

Member Function Documentation

◆ async_handle_discovery_info()

None homeassistant.components.zwave_js.NodeEvents.async_handle_discovery_info (   self,
dr.DeviceEntry  device,
ZwaveDiscoveryInfo  disc_info,
dict[str, ZwaveDiscoveryInfo value_updates_disc_info 
)
Handle discovery info and all dependent tasks.

Definition at line 697 of file __init__.py.

◆ async_on_node_ready()

None homeassistant.components.zwave_js.NodeEvents.async_on_node_ready (   self,
ZwaveNode  node 
)
Handle node ready event.

Definition at line 614 of file __init__.py.

◆ async_on_notification()

None homeassistant.components.zwave_js.NodeEvents.async_on_notification (   self,
dict[str, Any]  event 
)
Relay stateless notification events from Z-Wave nodes to hass.

Definition at line 806 of file __init__.py.

◆ async_on_value_added()

None homeassistant.components.zwave_js.NodeEvents.async_on_value_added (   self,
dict[str, ZwaveDiscoveryInfo value_updates_disc_info,
Value   value 
)
Fire value updated event.

Definition at line 744 of file __init__.py.

◆ async_on_value_notification()

None homeassistant.components.zwave_js.NodeEvents.async_on_value_notification (   self,
ValueNotification  notification 
)
Relay stateless value notification events from Z-Wave nodes to hass.

Definition at line 774 of file __init__.py.

◆ async_on_value_updated_fire_event()

None homeassistant.components.zwave_js.NodeEvents.async_on_value_updated_fire_event (   self,
dict[str, ZwaveDiscoveryInfo value_updates_disc_info,
Value   value 
)
Fire value updated event.

Definition at line 879 of file __init__.py.

Member Data Documentation

◆ config_entry

homeassistant.components.zwave_js.NodeEvents.config_entry

Definition at line 608 of file __init__.py.

◆ controller_events

homeassistant.components.zwave_js.NodeEvents.controller_events

Definition at line 609 of file __init__.py.

◆ dev_reg

homeassistant.components.zwave_js.NodeEvents.dev_reg

Definition at line 610 of file __init__.py.

◆ ent_reg

homeassistant.components.zwave_js.NodeEvents.ent_reg

Definition at line 611 of file __init__.py.

◆ hass

homeassistant.components.zwave_js.NodeEvents.hass

Definition at line 612 of file __init__.py.


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