Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.mysensors.entity Namespace Reference

Classes

class  MySensorNodeEntity
 
class  MySensorsChildEntity
 

Functions

dict[DevId, MySensorsChildEntityget_mysensors_devices (HomeAssistant hass, Platform domain)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_CHILD_ID = "child_id"
 
string ATTR_DESCRIPTION = "description"
 
string ATTR_DEVICE = "device"
 
string ATTR_HEARTBEAT = "heartbeat"
 
string ATTR_NODE_ID = "node_id"
 
string MYSENSORS_PLATFORM_DEVICES = "mysensors_devices_{}"
 

Detailed Description

Handle MySensors devices.

Function Documentation

◆ get_mysensors_devices()

dict[DevId, MySensorsChildEntity] homeassistant.components.mysensors.entity.get_mysensors_devices ( HomeAssistant  hass,
Platform   domain 
)
Return MySensors devices for a hass platform name.

Definition at line 137 of file entity.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.mysensors.entity._LOGGER = logging.getLogger(__name__)
private

Definition at line 35 of file entity.py.

◆ ATTR_CHILD_ID

string homeassistant.components.mysensors.entity.ATTR_CHILD_ID = "child_id"

Definition at line 37 of file entity.py.

◆ ATTR_DESCRIPTION

string homeassistant.components.mysensors.entity.ATTR_DESCRIPTION = "description"

Definition at line 38 of file entity.py.

◆ ATTR_DEVICE

string homeassistant.components.mysensors.entity.ATTR_DEVICE = "device"

Definition at line 39 of file entity.py.

◆ ATTR_HEARTBEAT

string homeassistant.components.mysensors.entity.ATTR_HEARTBEAT = "heartbeat"

Definition at line 41 of file entity.py.

◆ ATTR_NODE_ID

string homeassistant.components.mysensors.entity.ATTR_NODE_ID = "node_id"

Definition at line 40 of file entity.py.

◆ MYSENSORS_PLATFORM_DEVICES

string homeassistant.components.mysensors.entity.MYSENSORS_PLATFORM_DEVICES = "mysensors_devices_{}"

Definition at line 42 of file entity.py.