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

Classes

class  SmappeeAppliance
 
class  SmappeePresence
 

Functions

None async_setup_entry (HomeAssistant hass, SmappeeConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

string BINARY_SENSOR_PREFIX = "Appliance"
 
dictionary ICON_MAPPING
 
string PRESENCE_PREFIX = "Presence"
 

Detailed Description

Support for monitoring a Smappee appliance binary sensor.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.smappee.binary_sensor.async_setup_entry ( HomeAssistant  hass,
SmappeeConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Smappee binary sensor.

Definition at line 37 of file binary_sensor.py.

Variable Documentation

◆ BINARY_SENSOR_PREFIX

string homeassistant.components.smappee.binary_sensor.BINARY_SENSOR_PREFIX = "Appliance"

Definition at line 16 of file binary_sensor.py.

◆ ICON_MAPPING

dictionary homeassistant.components.smappee.binary_sensor.ICON_MAPPING
Initial value:
1 = {
2  "Car Charger": "mdi:car",
3  "Coffeemaker": "mdi:coffee",
4  "Clothes Dryer": "mdi:tumble-dryer",
5  "Clothes Iron": "mdi:hanger",
6  "Dishwasher": "mdi:dishwasher",
7  "Lights": "mdi:lightbulb",
8  "Fan": "mdi:fan",
9  "Freezer": "mdi:fridge",
10  "Microwave": "mdi:microwave",
11  "Oven": "mdi:stove",
12  "Refrigerator": "mdi:fridge",
13  "Stove": "mdi:stove",
14  "Washing Machine": "mdi:washing-machine",
15  "Water Pump": "mdi:water-pump",
16 }

Definition at line 19 of file binary_sensor.py.

◆ PRESENCE_PREFIX

string homeassistant.components.smappee.binary_sensor.PRESENCE_PREFIX = "Presence"

Definition at line 17 of file binary_sensor.py.