Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ecowitt.binary_sensor Namespace Reference

Classes

class  EcowittBinarySensorEntity
 

Functions

None _new_sensor (EcoWittSensor sensor)
 
None async_setup_entry (HomeAssistant hass, EcowittConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 device_class
 
 ecowitt = entry.runtime_data
 
 entity_category
 
 Final
 
 key
 

Detailed Description

Support for Ecowitt Weather Stations.

Function Documentation

◆ _new_sensor()

None homeassistant.components.ecowitt.binary_sensor._new_sensor ( EcoWittSensor  sensor)
private
Add new sensor.

Definition at line 40 of file binary_sensor.py.

◆ async_setup_entry()

None homeassistant.components.ecowitt.binary_sensor.async_setup_entry ( HomeAssistant  hass,
EcowittConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)

Definition at line 32 of file binary_sensor.py.

Variable Documentation

◆ device_class

homeassistant.components.ecowitt.binary_sensor.device_class

Definition at line 22 of file binary_sensor.py.

◆ ecowitt

homeassistant.components.ecowitt.binary_sensor.ecowitt = entry.runtime_data
Add sensors if new.

Definition at line 38 of file binary_sensor.py.

◆ entity_category

homeassistant.components.ecowitt.binary_sensor.entity_category

Definition at line 27 of file binary_sensor.py.

◆ Final

homeassistant.components.ecowitt.binary_sensor.Final

Definition at line 20 of file binary_sensor.py.

◆ key

homeassistant.components.ecowitt.binary_sensor.key

Definition at line 22 of file binary_sensor.py.