home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.03k stars 28.28k forks source link

Energy Dashboard->Electricity grid->use a static price Not working #116883

Closed janusn closed 3 days ago

janusn commented 1 week ago

The problem

Use a static price on grid consumption does not work. The Energy dashboard shows zero cost.

The grid consumption settings: Screenshot 2024-05-05 at 19 09 21

The energy dashboard: Screenshot 2024-05-05 at 19 10 11

What version of Home Assistant Core has the issue?

core-2024.5.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Robbe-B commented 3 days ago

@janusn, Is there anything in the logging of your HA instance ?

janusn commented 3 days ago

@Robbe-B [edited: Sorry, the following statement is false. More on next post.] No, I have searched "dcc" in files home-assistant.log, home-assistant.log.1 and home-assistant.log.fault. None is found.

But it is working today. I don't know what has changed. Screenshot 2024-05-15 at 14 07 32

janusn commented 3 days ago

I have found these errors in home-assistant.log: 2024-05-15 05:17:06.995 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hildebrandglow_dcc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-05-15 05:17:12.843 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.dcc_sourced_smart_electricity_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/HandyHat/ha-hildebrandglow-dcc/issues

Robbe-B commented 3 days ago

@janusn, I'm not sure, but I think it might need some time to reflect the prices when this is first configured. There is even a warning on the top of the energy dashboard config page: image So, if this was the case for you, I would suggest you mark this issue as solved and simply close it 😄 Kind regards, Robbe

janusn commented 3 days ago

Alright. I think so.