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

Classes

class  AmberDemandWindowBinarySensor
 
class  AmberPriceGridSensor
 
class  AmberPriceSpikeBinarySensor
 

Functions

None async_setup_entry (HomeAssistant hass, AmberConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

dictionary PRICE_SPIKE_ICONS
 

Detailed Description

Amber Electric Binary Sensor definitions.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.amberelectric.binary_sensor.async_setup_entry ( HomeAssistant  hass,
AmberConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up a config entry.

Definition at line 86 of file binary_sensor.py.

Variable Documentation

◆ PRICE_SPIKE_ICONS

dictionary homeassistant.components.amberelectric.binary_sensor.PRICE_SPIKE_ICONS
Initial value:
1 = {
2  "none": "mdi:power-plug",
3  "potential": "mdi:power-plug-outline",
4  "spike": "mdi:power-plug-off",
5 }

Definition at line 19 of file binary_sensor.py.