Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.comed_hourly_pricing.sensor.ComedHourlyPricingSensor
 

Namespaces

 homeassistant.components.comed_hourly_pricing.sensor
 

Functions

None homeassistant.components.comed_hourly_pricing.sensor.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.comed_hourly_pricing.sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.comed_hourly_pricing.sensor._RESOURCE = "https://hourlypricing.comed.com/api"
 
string homeassistant.components.comed_hourly_pricing.sensor.CONF_CURRENT_HOUR_AVERAGE = "current_hour_average"
 
string homeassistant.components.comed_hourly_pricing.sensor.CONF_FIVE_MINUTE = "five_minute"
 
string homeassistant.components.comed_hourly_pricing.sensor.CONF_MONITORED_FEEDS = "monitored_feeds"
 
string homeassistant.components.comed_hourly_pricing.sensor.CONF_SENSOR_TYPE = "type"
 
 homeassistant.components.comed_hourly_pricing.sensor.PLATFORM_SCHEMA
 
 homeassistant.components.comed_hourly_pricing.sensor.SCAN_INTERVAL = timedelta(minutes=5)
 
 homeassistant.components.comed_hourly_pricing.sensor.SENSORS_SCHEMA
 
 homeassistant.components.comed_hourly_pricing.sensor.TYPES_SCHEMA = vol.In(SENSOR_KEYS)