Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.zwave_js.button.ZWaveNodePingButton Class Reference
Inheritance diagram for homeassistant.components.zwave_js.button.ZWaveNodePingButton:
[legend]
Collaboration diagram for homeassistant.components.zwave_js.button.ZWaveNodePingButton:
[legend]

Public Member Functions

None __init__ (self, Driver driver, ZwaveNode node)
 
None async_added_to_hass (self)
 
None async_poll_value (self, bool _)
 
None async_press (self)
 

Public Attributes

 node
 

Private Attributes

 _attr_device_info
 
 _attr_unique_id
 
 _base_unique_id
 

Static Private Attributes

 _attr_entity_category = EntityCategory.CONFIG
 
bool _attr_has_entity_name = True
 
bool _attr_should_poll = False
 
string _attr_translation_key = "ping"
 

Detailed Description

Representation of a ping button entity.

Definition at line 84 of file button.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.zwave_js.button.ZWaveNodePingButton.__init__ (   self,
Driver  driver,
ZwaveNode  node 
)
Initialize a ping Z-Wave device button entity.

Definition at line 92 of file button.py.

Member Function Documentation

◆ async_added_to_hass()

None homeassistant.components.zwave_js.button.ZWaveNodePingButton.async_added_to_hass (   self)
Call when entity is added.

Definition at line 112 of file button.py.

◆ async_poll_value()

None homeassistant.components.zwave_js.button.ZWaveNodePingButton.async_poll_value (   self,
bool  _ 
)
Poll a value.

Definition at line 102 of file button.py.

◆ async_press()

None homeassistant.components.zwave_js.button.ZWaveNodePingButton.async_press (   self)
Press the button.

Definition at line 133 of file button.py.

Member Data Documentation

◆ _attr_device_info

homeassistant.components.zwave_js.button.ZWaveNodePingButton._attr_device_info
private

Definition at line 100 of file button.py.

◆ _attr_entity_category

homeassistant.components.zwave_js.button.ZWaveNodePingButton._attr_entity_category = EntityCategory.CONFIG
staticprivate

Definition at line 88 of file button.py.

◆ _attr_has_entity_name

bool homeassistant.components.zwave_js.button.ZWaveNodePingButton._attr_has_entity_name = True
staticprivate

Definition at line 89 of file button.py.

◆ _attr_should_poll

bool homeassistant.components.zwave_js.button.ZWaveNodePingButton._attr_should_poll = False
staticprivate

Definition at line 87 of file button.py.

◆ _attr_translation_key

string homeassistant.components.zwave_js.button.ZWaveNodePingButton._attr_translation_key = "ping"
staticprivate

Definition at line 90 of file button.py.

◆ _attr_unique_id

homeassistant.components.zwave_js.button.ZWaveNodePingButton._attr_unique_id
private

Definition at line 98 of file button.py.

◆ _base_unique_id

homeassistant.components.zwave_js.button.ZWaveNodePingButton._base_unique_id
private

Definition at line 97 of file button.py.

◆ node

homeassistant.components.zwave_js.button.ZWaveNodePingButton.node

Definition at line 94 of file button.py.


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