Home Assistant Unofficial Reference 2024.12.1
binary_sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.tod.binary_sensor.TodSensor
 

Namespaces

 homeassistant.components.tod.binary_sensor
 

Functions

TypeGuard[SunEventType] homeassistant.components.tod.binary_sensor._is_sun_event (time|SunEventType sun_event)
 
None homeassistant.components.tod.binary_sensor.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
None homeassistant.components.tod.binary_sensor.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.tod.binary_sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.tod.binary_sensor.ATTR_AFTER = "after"
 
string homeassistant.components.tod.binary_sensor.ATTR_BEFORE = "before"
 
string homeassistant.components.tod.binary_sensor.ATTR_NEXT_UPDATE = "next_update"
 
 homeassistant.components.tod.binary_sensor.PLATFORM_SCHEMA
 
 homeassistant.components.tod.binary_sensor.SunEventType