Closed ewonais closed 4 months ago
workaround: use a template helper or any other helper and than create:
everything locks ok, but i only did a short test
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1399 Downloaded Repositories | 10 HACS Data | okHome Assistant Cloud
logged_in | true -- | -- subscription_expiration | 26 December 2024 at 01:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true remote_server | eu-central-1-14.ui.nabu.casa certificate_status | ready instance_id | 76591d32c3ca4a49aadcdb128fcefd44 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 12.3 -- | -- update_channel | stable supervisor_version | supervisor-2024.05.1 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 57.8 GB disk_used | 20.8 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | File editor (5.8.0), Terminal & SSH (9.14.0), Mosquitto broker (6.4.0), Double Take (1.13.1), DeepStack (2021.09.1)Dashboards
dashboards | 2 -- | -- resources | 1 views | 1 mode | storageRecorder
oldest_recorder_run | 2 May 2024 at 06:58 -- | -- current_recorder_run | 13 May 2024 at 17:48 estimated_db_size | 282.36 MiB database_engine | sqlite database_version | 3.44.2Checklist
Describe the issue
I tried to use a template to make the graph mor accurate fore a sensor. the result was werry incorect. Then i locked at tge power graph, it locked correct but the graph for energy was not correct. For testing i created a sensor drawing 50 w every odd hour: {{ now().hour % 2 * 50}} correct power, 0 for even hours and 50 for odds:
wrong energy: 50*5=0.250kwh, not 0,425
Reproduction steps
Debug logs
Diagnostics dump or YAML config
config_entry-powercalc-73d24a8d01c1edc366d61f879c357e70.json