Comments (3)
Median can be achieved by using Current Spot Electricity Hour Order
. When it's value is <= 12 it's below the median, otherwise it's above it.
Or maybe I just don't understand the question :)
from homeassistant_cz_energy_spot_prices.
thanks, I have had issues with working with the hour order, i cannot correctly formulate the automation rules, because the values are in the attributes and i seem not to understand how to create a condition
- condition: numeric_state
entity_id: sensor.current_spot_electricity_price
below: sensor.current_spot_electricity_hour_order //and here i would need to search for the attribute value //it looks like : "2023-11-02T12:00:00+01:00"
Can you please give an example, how to create one? something like when current spot price is bellow <12 . Sorry to bother you.
from homeassistant_cz_energy_spot_prices.
Sorry for late answer, I missed the notification for this comment.
Try something like this:
description: ""
mode: single
trigger:
- platform: numeric_state
entity_id:
- sensor.current_spot_electricity_hour_order
below: 12
condition: []
action: []
sensor.current_spot_electricity_hour_order
is order of current hour when you sort all hours in a day by the price. So when value of this sensor is below 12, it means the price is below median.
from homeassistant_cz_energy_spot_prices.
Related Issues (20)
- entities dont show on/off values when creating automation HOT 6
- Aktuální cena není aktuální po update na 2023.9 HOT 13
- template sensor "Find cheapest hours in selected interval" HOT 3
- Item has no "Price" child or is empty
- Electricity Is Cheapest Looking X Hours Forward HOT 6
- device_class: monetary HOT 12
- Current Spot Electricity Hour not matching the hour of the day HOT 4
- X nejlevnějších hodin v zadaném intervalu HOT 5
- Timeout fetching prices HOT 1
- Error requesting CZE spot prices HOT 3
- Config flow could not be loaded: {"message":"Invalid handler specified"} HOT 1
- Tamplate sensor spravný zápis do config. Vyřešeno
- Dvoutarifní sazba D25d - řešení ceny HOT 5
- Cheapest X hours blocks - strange behavior HOT 5
- Prices shifted by one hour HOT 5
- incorrect electricity prices HOT 3
- Vzorové řešení reálných nákupních cen u dvoutarifních sazeb HOT 5
- Zaokrouhleni ceny HOT 4
- Spatne zobrazeni cen (+1 hodina) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant_cz_energy_spot_prices.