home-assistant.io/source/_components/sensor.comed_hourly_pricing.markdown
Alok Saboo 1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00

1.7 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page ComEd Hourly Pricing Instructions on how to set up the ComEd Hourly Pricing sensor in Home Assistant. 2017-03-02 0:15 true false true true comed.png Energy 0.40 Cloud Polling

The ComEd Hourly Pricing program is an optional program available to ComEd electric subscribers which charges customers a variable rate for electricity supply based on current demand rather than a traditional fixed rate. Live prices are published here and also via an API which we can integrate as a sensor in Home Assistant.

There are two price feeds available: the 5-minute price and current hour average price.

To use this sensor in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: comed_hourly_pricing
    monitored_feeds:
      - type: five_minute
      - type: current_hour_average

Configuration variables:

  • monitored_feeds array (Required): Feeds to monitor.
    • type (Required): Name of the feed.
      • five_minute: The latest 5-minute price in cents.
      • current_hour_average: The latest current hour average price in cents.
    • name (Optional): Custom name for the sensor.
    • offset (Optional): The pricing feeds provide only the supply cost of the electricity. The offset parameter allows you to provide a fixed constant that will be added to the pricing data to provide a more accurate representation of the total electricity cost per kWh.