Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically calculate target_energy #15

Open
2 tasks
JanPetterMG opened this issue Jan 5, 2024 · 0 comments
Open
2 tasks

Dynamically calculate target_energy #15

JanPetterMG opened this issue Jan 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@JanPetterMG
Copy link

JanPetterMG commented Jan 5, 2024

Thanks for this great addon.

One of my automations failed a few days ago, and I ended up using way more power at the cheapest hour than intended.
My target was 2 kWh, but I ended up using 2.6, and 1.9 the next day. Now I have to stay under 1.5 kWh the next 25 days...

I've set target_energy: 1.5 and it calculates sensor.available_power_this_hour correctly, but it still says 2 kWh as target level in the sensor attributes.

  • New attribute specifying target_energy. Editing the YAML doesn't change the target until next reboot
  • Take sensor.average_peak_hour_energy into account when calculating sensor.available_power_this_hour.
@JanPetterMG JanPetterMG changed the title Make target_energy a decimal Dynamically calculate target_energy Jan 6, 2024
@epaulsen epaulsen added the enhancement New feature or request label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants