There is only a “number of days” option for the offset, but from the configuration file I used to be able to specify it in hours and minutes. How can I do it?
Use YAML. Not all features are supported in the UI.
I’ve tried, but the utility meter doesn’t seem to work anymore; the values are 0 and have no units, while when I set it up via UI it works
is any thing wrong here?
utility_meter:
ev_charger_daily_consumption:
source: sensor.id_4_energy2
cycle: daily
offset:
days: 0
hours: 5
minutes: 30
tariffs:
- day
- night
edit: I just found that the utility meter doesn’t work when the source is an integration sensor (I calculate energy delivered by integrating power); if I use a source that is natively its own sensor, then it works
Yes it does. It would be pretty pointless if it didn’t.
Copy the attributes of your integration sensor from Developer Tools → States and paste them here.