Groups don't create daily/weekly/monthly energysensors with create_utility_meters: true
See original GitHub issueNot sure if this is intended behavior or not (or if I’ve misconfigured something - I’m new to all of this), but I’ve noticed that powercalc groups don’t seem to get the daily/weekly/monthly energy sensors that individual devices get.
My config:
powercalc:
scan_interval: 00:01:00 #Each minute
power_sensor_naming: "{} Powersensor"
energy_sensor_naming: "{} Energysensor"
create_utility_meters: true
- platform: powercalc # Bedroom Lights Power Usage Estimation
create_group: Bedroom Lights
entities:
- entity_id: light.bedroom_ceiling_light_1
linear:
min_power: 0.5
max_power: 9
standby_usage: 0.3
- entity_id: light.bedroom_ceiling_light_2
linear:
min_power: 0.5
max_power: 9
standby_usage: 0.3
This results in all of the expected powersensors, as well as the following expected energy sensors:
sensor.bedroom_ceiling_light_1_energysensor
sensor.bedroom_ceiling_light_1_energysensor_daily
sensor.bedroom_ceiling_light_1_energysensor_weekly
sensor.bedroom_ceiling_light_1_energysensor_monthly
sensor.bedroom_ceiling_light_2_energysensor
sensor.bedroom_ceiling_light_2_energysensor_daily
sensor.bedroom_ceiling_light_2_energysensor_weekly
sensor.bedroom_ceiling_light_2_energysensor_monthly
sensor.bedroom_lights_energysensor
But the following energysensors are not created:
sensor.bedroom_lights_energysensor_daily
sensor.bedroom_lights_energysensor_weekly
sensor.bedroom_lights_energysensor_monthly
This behavior is consistent across all of the groups I’ve set up, not just the Bedroom Lights group I used as an example here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
homeassistant-powercalc/README.md at master - GitHub
This can be used to let powercalc create energy sensors and utility meters. ... Set to true to automatically create utility meters of...
Read more >Group - Home Assistant
Home Assistant can group multiple binary sensors, covers, fans, lights, locks, media players, switches as a single entity, with the option of hiding...
Read more >COMPLETE power monitoring for your home! - YouTube
One year ago, Home Assistant introduced Energy Monitoring, but today we look at ultimate power and energy monitoring HACS component.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@NCC1941 Yes I see, it’s also broken for me it seems. I’m on it.
This was indeed a bug.
Will be fixed with #298. Doing some final testing now. Also allows you to disable utility meter creation per group. For example: