Home Assistant Unofficial Reference 2024.12.1
switch.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.thinkingcleaner.switch.ThinkingCleanerSwitch
 

Namespaces

 homeassistant.components.thinkingcleaner.switch
 

Functions

None homeassistant.components.thinkingcleaner.switch.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.thinkingcleaner.switch.MIN_TIME_BETWEEN_FORCED_SCANS = timedelta(milliseconds=100)
 
 homeassistant.components.thinkingcleaner.switch.MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10)
 
int homeassistant.components.thinkingcleaner.switch.MIN_TIME_TO_LOCK_UPDATE = 5
 
 homeassistant.components.thinkingcleaner.switch.MIN_TIME_TO_WAIT = timedelta(seconds=5)
 
 homeassistant.components.thinkingcleaner.switch.PLATFORM_SCHEMA = SWITCH_PLATFORM_SCHEMA.extend({vol.Optional(CONF_HOST): cv.string})