I have sensor: sensor.klima_poraba
that show me consumtion of my A/C, I want to make tempate sensor for total power, and reset this tamplate sensor every 1st in month.
That is right what I want.
I have only problem how to change name of metter. I want two meters but work only like this and get energy and energy2
utility_meter:
energy:
source: sensor.klima_poraba
cycle: monthly
energy2:
source: sensor.bojler_moc
cycle: monthly
Hello I have the same problem and i found this solution all utility meter begin with
- daily_
- weekly_
- monthly_
- yearly_
i have
- platform: template
sensors:
daily_energy_2_kwh:
friendly_name: Daily Energy 2
unit_of_measurement: 'kWh'
value_template: "{{ ((states('sensor.daily_energy_2')|float)/1000) }}"
daily_power:
friendly_name: Conso Réelle
unit_of_measurement: 'kWh'
value_template: "{{ (states('sensor.daily_energy')|float - states('sensor.daily_energy_2_kwh')|float)| round(3) }}"
Thanx,
but problem there is that this sensor will not reset every month or every day?
no each month for monthly each day for daily …