Provides helper sensors for EPEX Spot integration.
MIT License
This component is an addition to the EPEX Spot integration.
EPEX Spot Sensor add one or more binary sensors which can be configured to turn on at the cheapest or most expensive time interval of the day. The length of the time interval can be configured, as well as whether the interval shall be used contiguously or intermittently.
If you like this component, please give it a star on github.
Ensure that HACS is installed.
Open HACS, then select Integrations
.
Select ⋮ and then Custom repositories
.
Set Repository
to https://github.com/mampfes/ha_epex_spot_sensor
and Category
to Integration.
Install EPEX Spot Sensor integration via HACS:
If the button doesn't work: Open HACS
> Integrations
> Explore & Download Repositories
and select integration EPEX Spot Sensor
.
Add helper(s) provided by EPEX Spot Sensor to Home Assistant:
If the button doesn't work: Open Settings
> Devices & services
> Helpers
> Create Helper
and select EPEX Spot Sensor
.
In case you would like to install manually:
Copy the folder custom_components/epex_spot_sensor
to custom_components
in your Home Assistant config
folder.
Add helper(s) provided by EPEX Spot Sensor to Home Assistant:
If the button doesn't work: Open Settings
> Devices & services
> Helpers
> Create Helper
and select EPEX Spot Sensor
.
Earliest Start Time Earliest time to start the appliance.
Latest End Time Latest time to end the appliance. Set it to same value as earliest start time to cover 24h. If set to smaller value than earliest start time, it automatically refers to following day.
Duration Required duration to complete the appliance.
Remaining Duration Entity
Optional entity which indicates the remaining duration. If entity is set, it replaces the static duration. If the state of the Remaining Duration Entity
changes between Earliest Start Time
and Latest End Time
, the configured Earliest Start Time
will be ignore and the latest change time of the Remaining Duration Entity
will the used instead.
Price Mode
Selects whether the sensor shall react on the cheapest or the most expensive prices between Earliest Start Time
and Latest End Time
.
Interval Mode
Selects whether the specified duration shall be completed in a single, contiguous interval or can be split into multiple, not contiguous intervals (intermittend
).
Earliest Start Time
Reflects the configured Earliest Start Time
.
Latest End Time
Reflects the configured Latest End Time
.
Duration
Reflects the used value for duration, which is either the configured duration if the Remaining Duration Entity
is not set; or the state of the Remaining Duration Entity
.
Remaining Duration Entity Optional entity which indicates the remaining duration. If entity is set, it replaces the static duration.
Interval Start Time
Reflects the actual start time of the interval, which is either the configured Earliest Start Time
or the latest change time of the Remaining Duration Entity
if the state of the entity changed between Earliest Start Time
and Latest End Time
.
Price Mode
Reflects the configured Price Mode
.
Price Mode
Reflects the configured Interval Mode
.
Enabled
Set to true
if current time is between Earliest Start Time
and Latest End Time
.
Data
List of calculated intervals to switch sensor on, consisting of start_time
, end_time
and rank
(for Interval Mode intermittend only).