jeroenterheerdt/HADailySensor

no reset at 0:00

Closed this issue · 7 comments

hi i install your plugin!! all working fine but at 0:00 no reset of the data ...

i have tried to create an automation but i have this error: (Message malformed: Service daily.stromverbrauch pro tag_reset does not match format . for dictionary value @ data['action'][0]['service'])

any idea...?

can you share your config?

Which config? And where.can i find it?

I have an esp that measures the current (the current one) at the current automat by means of a light barrier.
IMG_20210608_200759
Screenshot_2021-06-08-20-08-26-141_com android chrome

Aahh i see it its sum wrong? That is the sensor from esp
Screenshot_2021-06-08-20-11-59-767_io homeassistant companion android

so what is the configuration you put in the sensor?

First and second picture

looking at the first picture it looks like the reset did happen, right? It drops to 0 at 00:00 and then builds up again. Also, I see the component is calling daily.stromverbrauch pro tag_reset. Can you see if there is indeed a service that looks like: daily.[something]_reset on your system?

I have a lookok here
IMG_20210609_191509
in automation ... I found it , but can make an automation ...is sum the right option?

not sure what you mean. sum is the right option if you want to total the amount over a day. The error message you had is because you have spaces in your sensor name: daily.test day/kw stdev_reset is never going to work as a service name as spaces are not allowed. I would advice against using spaces in your entity names, that way you don't run into any issues with components such as this one. rename you stromverbrauch pro tag to stromverbrach_pro_tag and re-add the daily sensor. everything should work fine then. The spaces are the issue.