Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.timer.Timer
 
class  homeassistant.components.timer.TimerStorageCollection
 

Namespaces

 homeassistant.components.timer
 

Functions

str homeassistant.components.timer._format_timedelta (timedelta delta)
 
_T|dict[Any, Any] homeassistant.components.timer._T (_T|None value)
 
bool homeassistant.components.timer.async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 homeassistant.components.timer._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.timer.ATTR_DURATION = "duration"
 
string homeassistant.components.timer.ATTR_FINISHED_AT = "finished_at"
 
string homeassistant.components.timer.ATTR_FINISHES_AT = "finishes_at"
 
string homeassistant.components.timer.ATTR_REMAINING = "remaining"
 
string homeassistant.components.timer.ATTR_RESTORE = "restore"
 
string homeassistant.components.timer.CONF_DURATION = "duration"
 
string homeassistant.components.timer.CONF_RESTORE = "restore"
 
 homeassistant.components.timer.CONFIG_SCHEMA
 
 homeassistant.components.timer.default
 
int homeassistant.components.timer.DEFAULT_DURATION = 0
 
bool homeassistant.components.timer.DEFAULT_RESTORE = False
 
string homeassistant.components.timer.DOMAIN = "timer"
 
string homeassistant.components.timer.ENTITY_ID_FORMAT = DOMAIN + ".{}"
 
string homeassistant.components.timer.EVENT_TIMER_CANCELLED = "timer.cancelled"
 
string homeassistant.components.timer.EVENT_TIMER_CHANGED = "timer.changed"
 
string homeassistant.components.timer.EVENT_TIMER_FINISHED = "timer.finished"
 
string homeassistant.components.timer.EVENT_TIMER_PAUSED = "timer.paused"
 
string homeassistant.components.timer.EVENT_TIMER_RESTARTED = "timer.restarted"
 
string homeassistant.components.timer.EVENT_TIMER_STARTED = "timer.started"
 
 homeassistant.components.timer.RELOAD_SERVICE_SCHEMA = vol.Schema({})
 
string homeassistant.components.timer.SERVICE_CANCEL = "cancel"
 
string homeassistant.components.timer.SERVICE_CHANGE = "change"
 
string homeassistant.components.timer.SERVICE_FINISH = "finish"
 
string homeassistant.components.timer.SERVICE_PAUSE = "pause"
 
string homeassistant.components.timer.SERVICE_START = "start"
 
string homeassistant.components.timer.STATUS_ACTIVE = "active"
 
string homeassistant.components.timer.STATUS_IDLE = "idle"
 
string homeassistant.components.timer.STATUS_PAUSED = "paused"
 
string homeassistant.components.timer.STORAGE_KEY = DOMAIN
 
int homeassistant.components.timer.STORAGE_VERSION = 1
 
 homeassistant.components.timer.VolDictType