Comments (4)
I have implemented that in my fork just after the initial revision of this sensor came out:
https://github.com/grol-hass/ha_epex_spot_sensor_variable_duration
Feel free to pull changes from there.
I'm using it to determine when to charge my home battery from grid, that's why I also added code to make sure intermittent time slots are adjacent if possible.
Also note that I have just replaced the timedelta from the configuration page completely by a input_number entity field (needs to be in seconds) - but I guess that could be modified to use an option to choose between a hardcoded value or an entity (maybe also a template sensor)
from ha_epex_spot_sensor.
@grol-hass Thanks for sharing. I will use this a template.
from ha_epex_spot_sensor.
This is a valid request. I need to check how much effort it is.
from ha_epex_spot_sensor.
It would be enough to provide an entity for duration.
Best solution is template :)
from ha_epex_spot_sensor.
Related Issues (18)
- Not able to use helper when wrong input price sensor is used HOT 12
- Spot sensor Status Unknown HOT 3
- Can not add helper HOT 4
- Error while dispatching event for sensor.epex_spot_data_net_price HOT 4
- How to use EPEX SPOT SENSOR in an automation? HOT 3
- Feature Request: Support for two different tariffs (Feed-in tariff and purchase tariff) HOT 4
- doesnt work after restoring a backup HOT 13
- Another Helper Entity for Start and End-times? HOT 5
- Feature request: Flexible duration -> flexible start time? HOT 4
- No Helper data for 24h in case one hour has a price of 0cent HOT 6
- Helper attributes start & end times are no longer correct HOT 13
- No Remaining Duration Entity HOT 1
- Wrong entity state change HOT 4
- Use list of calculated intervals HOT 3
- Sensor doesnt turn off if input number is changed HOT 2
- Request - Allow to configure a "pause" between Time Intervals
- EventType was used from epex_spot_sensor, this is a deprecated alias which will be removed in HA Core 2025.5 HOT 2
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 ha_epex_spot_sensor.