bramstroker / homeassistant-powercalc

Custom component to calculate estimated power consumption of lights and other appliances
MIT License
937 stars 249 forks source link

Sensor "All standby energy" does not reset #1884

Closed LeFlairGoD closed 9 months ago

LeFlairGoD commented 11 months ago

System Health details

System Information

version core-2023.10.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.5
os_name Linux
os_version 6.1.45
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4882 Installed Version | 1.33.0 Stage | running Available Repositories | 1300 Downloaded Repositories | 8
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 10.5 -- | -- update_channel | stable supervisor_version | supervisor-2023.10.0 agent_version | 1.5.1 docker_version | 23.0.6 disk_total | 228.5 GB disk_used | 19.3 GB healthy | true supported | true board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | File editor (5.6.0), Terminal & SSH (9.7.1), Silicon Labs Multiprotocol (2.3.2), Cloudflared (4.2.7), Mosquitto broker (6.3.1), Zigbee2MQTT (1.33.1-1), Samba share (10.0.2), ESPHome (2023.9.3)
Dashboards dashboards | 2 -- | -- resources | 2 views | 10 mode | storage
Recorder oldest_recorder_run | 7. Oktober 2023 um 18:21 -- | -- current_recorder_run | 7. Oktober 2023 um 20:49 estimated_db_size | 3.73 MiB database_engine | sqlite database_version | 3.41.2

Checklist

Describe the issue

Hello, I noticed that the entity "sensor.all_standby_energy" created by Powercalc never resets the sum. I have reset Powercalc and all current measuring entities because of an error in the Energy Dashboard, deleted the db`s, reinstalled Powercalc and the sensor "sensor.all_standby_energy" still shows the sum from before.... In the statistics for the sensor there are also no entries that could be adjusted manually. The value is simply there. I have configured even extra no devices in Powercalc, so the value can therefore not come... Have now set the sensor once manually to 0. However, it is directly back to the old value.... image image image

Reproduction steps

  1. uninstall Powercalc
  2. delete all db
  3. delete Powecalc entity "All standby energy"
  4. restart HA
  5. reinstall Powercalc without configuring devices
  6. all standby energy entity back with old values.

Debug logs

2023-10-07 20:53:20.033 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman 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
2023-10-07 20:53:20.033 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs 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
2023-10-07 20:53:20.034 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration roborock 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
2023-10-07 20:53:20.034 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration thermal_comfort 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
2023-10-07 20:53:20.035 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration powercalc 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
2023-10-07 20:53:20.035 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration govee_lan 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
2023-10-07 20:53:29.844 DEBUG (MainThread) [custom_components.powercalc.discovery] Start auto discovering entities
2023-10-07 20:53:29.844 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.zeppelin_wireless: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-10-07 20:53:29.845 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.zeppelin_wireless: Model not found in library, skipping discovery
2023-10-07 20:53:29.845 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.lg_webos_tv_oled65c38la: Auto discovered model (manufacturer=LG, model=OLED65C38LA)
2023-10-07 20:53:29.845 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.lg_webos_tv_oled65c38la: Model not found in library, skipping discovery
2023-10-07 20:53:29.845 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.wohnzimmer: Auto discovered model (manufacturer=Apple, model=Apple TV 4K (gen 3))
2023-10-07 20:53:29.846 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.wohnzimmer: Model not found in library, skipping discovery
2023-10-07 20:53:29.846 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.iphone_pias_focus: Auto discovered model (manufacturer=Apple, model=iPhone14,4)
2023-10-07 20:53:29.846 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.iphone_pias_focus: Model not found in library, skipping discovery
2023-10-07 20:53:29.846 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_1_2: Auto discovered model (manufacturer=Aqara, model=PS-S02E)
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_1_2: Model not found in library, skipping discovery
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_2_2: Auto discovered model (manufacturer=Aqara, model=PS-S02E)
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_2_2: Model not found in library, skipping discovery
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_4_2: Auto discovered model (manufacturer=Aqara, model=PS-S02E)
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_4_2: Model not found in library, skipping discovery
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_5_2: Auto discovered model (manufacturer=Aqara, model=PS-S02E)
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_5_2: Model not found in library, skipping discovery
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_3_2: Auto discovered model (manufacturer=Aqara, model=PS-S02E)
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_3_2: Model not found in library, skipping discovery
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_6: Auto discovered model (manufacturer=Aqara, model=PS-S02E)
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.presence_sensor_fp2_676c_presence_sensor_6: Model not found in library, skipping discovery
2023-10-07 20:53:29.847 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.fire_tablet: Auto discovered model (manufacturer=Amazon, model=KFRAWI)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.fire_tablet: Model not found in library, skipping discovery
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fire_tablet_bildschirmschoner: Auto discovered model (manufacturer=Amazon, model=KFRAWI)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fire_tablet_bildschirmschoner: Model not found in library, skipping discovery
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fire_tablet_bildschirm: Auto discovered model (manufacturer=Amazon, model=KFRAWI)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fire_tablet_bildschirm: Model not found in library, skipping discovery
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] camera.roborock_s8_map: Auto discovered model (manufacturer=Roborock, model=roborock.vacuum.a51)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] camera.roborock_s8_map: Model not found in library, skipping discovery
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.homepod_buro: Auto discovered model (manufacturer=Apple, model=HomePod Mini)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.homepod_schlafzimmer: Auto discovered model (manufacturer=Apple, model=HomePod Mini)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_camera_in_use: Auto discovered model (manufacturer=Apple, model=Mac14,2)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_camera_in_use: Model not found in library, skipping discovery
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_audio_input_in_use: Auto discovered model (manufacturer=Apple, model=Mac14,2)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_audio_input_in_use: Model not found in library, skipping discovery
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_audio_output_in_use: Auto discovered model (manufacturer=Apple, model=Mac14,2)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_audio_output_in_use: Model not found in library, skipping discovery
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_active: Auto discovered model (manufacturer=Apple, model=Mac14,2)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_active: Model not found in library, skipping discovery
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_focus: Auto discovered model (manufacturer=Apple, model=Mac14,2)
2023-10-07 20:53:29.848 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.macbook_air_von_hannes_focus: Model not found in library, skipping discovery
2023-10-07 20:53:29.849 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.hans_iphone_focus: Auto discovered model (manufacturer=Apple, model=iPhone12,3)
2023-10-07 20:53:29.849 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.hans_iphone_focus: Model not found in library, skipping discovery
2023-10-07 20:53:29.849 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.hannes_ipad_focus: Auto discovered model (manufacturer=Apple, model=iPad8,11)
2023-10-07 20:53:29.849 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.hannes_ipad_focus: Model not found in library, skipping discovery
2023-10-07 20:53:29.849 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.homepod_kuche: Auto discovered model (manufacturer=Apple, model=HomePod Mini)
2023-10-07 20:53:29.849 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.bad_licht_spiegel: Auto discovered model (manufacturer=Girier, model=1 gang mini switch (JR-ZDS01))
2023-10-07 20:53:29.849 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.bad_licht_spiegel: Model not found in library, skipping discovery
2023-10-07 20:53:29.849 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.bad_bewegungsmelder_occupancy: Auto discovered model (manufacturer=SONOFF, model=Motion sensor (SNZB-03))
2023-10-07 20:53:29.850 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.bad_bewegungsmelder_occupancy: Model not found in library, skipping discovery
2023-10-07 20:53:29.850 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.kuche_licht_klein: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue smart plug (929003050601))
2023-10-07 20:53:29.860 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.kuche_licht_klein: Model not found in library, skipping discovery
2023-10-07 20:53:29.860 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.hwr_schalter_luftung: Auto discovered model (manufacturer=TuYa, model=Smart plug (with power monitoring) (TS011F_plug_1))
2023-10-07 20:53:29.861 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.buro_schalter_schreibtisch_hannes: Auto discovered model (manufacturer=TuYa, model=Smart plug (with power monitoring) (TS011F_plug_1))
2023-10-07 20:53:29.861 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.buro_schalter_schreibtisch_pia: Auto discovered model (manufacturer=TuYa, model=Smart plug (with power monitoring) (TS011F_plug_1))
2023-10-07 20:53:29.861 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.kuche_schalter_kuhlschrank: Auto discovered model (manufacturer=TuYa, model=Smart plug (with power monitoring) (TS011F_plug_1))
2023-10-07 20:53:29.861 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schlafzimmer_licht_bett: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue white and color ambiance LightStrip plus (8718699703424))
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_licht_fernseher: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue white and color ambiance LightStrip plus (8718699703424))
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohnzimmer_licht_korblampe: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue smart plug (929003050601))
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohnzimmer_licht_korblampe: Model not found in library, skipping discovery
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohnzimmer_schalter_entertainment: Auto discovered model (manufacturer=TuYa, model=Smart plug (with power monitoring) (TS011F_plug_1))
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohn_ess_kuche_licht_decke_left: Auto discovered model (manufacturer=TuYa, model=3 gang switch module - (without neutral) (TS0013_switch_module))
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohn_ess_kuche_licht_decke_left: Model not found in library, skipping discovery
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohn_ess_kuche_licht_decke_center: Auto discovered model (manufacturer=TuYa, model=3 gang switch module - (without neutral) (TS0013_switch_module))
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohn_ess_kuche_licht_decke_center: Model not found in library, skipping discovery
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohn_ess_kuche_licht_decke_right: Auto discovered model (manufacturer=TuYa, model=3 gang switch module - (without neutral) (TS0013_switch_module))
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohn_ess_kuche_licht_decke_right: Model not found in library, skipping discovery
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohn_ess_kuche_licht_decke_left: Auto discovered model (manufacturer=TuYa, model=3 gang switch module - (without neutral) (TS0013_switch_module))
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohn_ess_kuche_licht_decke_left: Model not found in library, skipping discovery
2023-10-07 20:53:29.862 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohn_ess_kuche_licht_decke_right: Auto discovered model (manufacturer=TuYa, model=3 gang switch module - (without neutral) (TS0013_switch_module))
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohn_ess_kuche_licht_decke_right: Model not found in library, skipping discovery
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_licht_korblampe: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue smart plug (929003050601))
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_licht_korblampe: Model not found in library, skipping discovery
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kuche_licht_klein: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue smart plug (929003050601))
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kuche_licht_klein: Model not found in library, skipping discovery
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.bad_licht_spiegel: Auto discovered model (manufacturer=Girier, model=1 gang mini switch (JR-ZDS01))
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.bad_licht_spiegel: Model not found in library, skipping discovery
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schlafzimmer_licht_decke: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue white and color ambiance E26#slash#E27#slash#E14 (9290012573A))
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.kuche_bewegungsmelder_occupancy: Auto discovered model (manufacturer=Aqara, model=Aqara human body movement and illuminance sensor (RTCGQ11LM))
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.kuche_bewegungsmelder_occupancy: Model not found in library, skipping discovery
2023-10-07 20:53:29.863 DEBUG (MainThread) [custom_components.powercalc.discovery] light.bad_licht_dusche: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue white and color ambiance E26#slash#E27#slash#E14 (9290012573A))
2023-10-07 20:53:29.864 DEBUG (MainThread) [custom_components.powercalc.discovery] light.bad_licht_decke_spiegel: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue white and color ambiance E26#slash#E27#slash#E14 (9290012573A))
2023-10-07 20:53:29.864 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_licht_tisch: Auto discovered model (manufacturer=LEDVANCE, model=SMART+ candle E14 dimmable white (4058075208421))
2023-10-07 20:53:29.866 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_licht_tisch: Model not found in library, skipping discovery
2023-10-07 20:53:29.866 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.nspanelbuero_left_button: Auto discovered model (manufacturer=Espressif, model=esp32dev)
2023-10-07 20:53:29.866 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.nspanelbuero_left_button: Model not found in library, skipping discovery
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.nspanelbuero_right_button: Auto discovered model (manufacturer=Espressif, model=esp32dev)
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.nspanelbuero_right_button: Model not found in library, skipping discovery
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.nspanelbuero_relay_1: Auto discovered model (manufacturer=Espressif, model=esp32dev)
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.nspanelbuero_relay_1: Model not found in library, skipping discovery
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.nspanelbuero_relay_2: Auto discovered model (manufacturer=Espressif, model=esp32dev)
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.nspanelbuero_relay_2: Model not found in library, skipping discovery
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] light.flur_licht_rechts: Auto discovered model (manufacturer=LEDVANCE, model=SMART+ candle E14 dimmable white (4058075208421))
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] light.flur_licht_rechts: Model not found in library, skipping discovery
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] light.flur_licht_links: Auto discovered model (manufacturer=LEDVANCE, model=SMART+ candle E14 dimmable white (4058075208421))
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] light.flur_licht_links: Model not found in library, skipping discovery
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.flur_bewegungsmelder_occupancy: Auto discovered model (manufacturer=TuYa, model=Luminance motion sensor (ZG-204ZL))
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.flur_bewegungsmelder_occupancy: Model not found in library, skipping discovery
2023-10-07 20:53:29.867 DEBUG (MainThread) [custom_components.powercalc.discovery] light.balkon: Auto discovered model (manufacturer=Govee, model=H6172)
2023-10-07 20:53:29.868 DEBUG (MainThread) [custom_components.powercalc.discovery] light.balkon: Model not found in library, skipping discovery
2023-10-07 20:53:29.868 DEBUG (MainThread) [custom_components.powercalc.discovery] Done auto discovering entities
2023-10-07 20:53:29.873 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Home Assistant SkyConnect' for homeassistant_sky_connect integration not ready yet: Failed to start the Silicon Labs Multiprotocol add-on: Unknown error, see supervisor; Retrying in background
2023-10-07 20:53:33.340 ERROR (MainThread) [homeassistant.helpers.entity] Failed to set state, fall back to unknown
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 906, in _async_write_ha_state
hass.states.async_set(
File "/usr/src/homeassistant/homeassistant/core.py", line 1687, in async_set
state = State(
^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 1264, in __init__
validate_state(state)
File "/usr/src/homeassistant/homeassistant/core.py", line 184, in validate_state
raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state with length 947. State max length is 255 characters.
2023-10-07 20:53:46.485 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ ( float(states('sensor.wohnzimmer_thermal_comfort_absolute_humidity')) - float(states('sensor.outside_thermal_comfort_absolute_humidity')) ) | float | round (2) }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1915, in forgiving_float
return float(value)
^^^^^^^^^^^^
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 568, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2196, in _render_with_context
return template.render(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/local/lib/python3.11/site-packages/jinja2/sandbox.py", line 393, in call
return __context.call(__obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1918, in forgiving_float
raise_no_default("float", value)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1626, in raise_no_default
raise ValueError(
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ ( float(states('sensor.wohnzimmer_thermal_comfort_absolute_humidity')) - float(states('sensor.outside_thermal_comfort_absolute_humidity')) ) | float | round (2) }}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 694, in async_render_to_info
render_info._result = self.async_render(
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 570, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ ( float(states('sensor.wohnzimmer_thermal_comfort_absolute_humidity')) - float(states('sensor.outside_thermal_comfort_absolute_humidity')) ) | float | round (2) }}' but no default was specified
2023-10-07 20:53:46.494 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ ( float(states('sensor.wohnzimmer_thermal_comfort_absolute_humidity')) - float(states('sensor.outside_thermal_comfort_absolute_humidity')) ) | float | round (2) }}' but no default was specified') while processing template 'Template<template=({{ ( float(states('sensor.wohnzimmer_thermal_comfort_absolute_humidity')) - float(states('sensor.outside_thermal_comfort_absolute_humidity')) ) | float | round (2) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.absolute_luftfeuchtigkeit_unterschied'
2023-10-07 20:53:46.831 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: All standby energy
2023-10-07 20:53:48.119 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'media_player.homepod_buro', 'source_entity': SourceEntity(object_id='homepod_buro', entity_id='media_player.homepod_buro', domain='media_player', unique_id='F4:34:F0:26:DD:9A', name='HomePod Büro', supported_color_modes=[], entity_entry=RegistryEntry(entity_id='media_player.homepod_buro', unique_id='F4:34:F0:26:DD:9A', platform='apple_tv', aliases=set(), area_id=None, capabilities={}, config_entry_id='ee35e0f1dee277d5b9648e1994c53b37', device_class=None, device_id='5c13ca1d2f097d19c66d25fb66e06c27', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='4c6541d940216e85a88d3239d0cd93c4', has_entity_name=True, name=None, options={'conversation': {'should_expose': False}}, original_device_class=None, original_icon=None, original_name=None, supported_features=448439, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='buro', config_entries={'ee35e0f1dee277d5b9648e1994c53b37'}, configuration_url=None, connections={('mac', 'f4:34:f0:26:dd:9a')}, disabled_by=None, entry_type=None, hw_version=None, id='5c13ca1d2f097d19c66d25fb66e06c27', identifiers={('apple_tv', 'F4:34:F0:26:DD:9A')}, manufacturer='Apple', model='HomePod Mini', name_by_user='HomePod Büro', name='Büro', suggested_area=None, sw_version='17.0', via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a523bae50>, 'manufacturer': 'apple', 'model': 'HomePod Mini'}
2023-10-07 20:53:48.120 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'media_player.homepod_schlafzimmer', 'source_entity': SourceEntity(object_id='homepod_schlafzimmer', entity_id='media_player.homepod_schlafzimmer', domain='media_player', unique_id='F4:34:F0:28:A3:0A', name='HomePod Schlafzimmer', supported_color_modes=[], entity_entry=RegistryEntry(entity_id='media_player.homepod_schlafzimmer', unique_id='F4:34:F0:28:A3:0A', platform='apple_tv', aliases=set(), area_id=None, capabilities={}, config_entry_id='6968ab35fa39b9743996b49d631910f0', device_class=None, device_id='0a34d3991256d810c725d8d9928b414f', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='a9a207fbfebc795f775ab81a32c85866', has_entity_name=True, name=None, options={'conversation': {'should_expose': False}}, original_device_class=None, original_icon=None, original_name=None, supported_features=448439, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='schlafzimmer', config_entries={'6968ab35fa39b9743996b49d631910f0'}, configuration_url=None, connections={('mac', 'f4:34:f0:28:a3:0a')}, disabled_by=None, entry_type=None, hw_version=None, id='0a34d3991256d810c725d8d9928b414f', identifiers={('apple_tv', 'F4:34:F0:28:A3:0A')}, manufacturer='Apple', model='HomePod Mini', name_by_user='HomePod Schlafzimmer', name='Schlafzimmer', suggested_area=None, sw_version='17.0', via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a523bae50>, 'manufacturer': 'apple', 'model': 'HomePod Mini'}
2023-10-07 20:53:48.121 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'media_player.homepod_kuche', 'source_entity': SourceEntity(object_id='homepod_kuche', entity_id='media_player.homepod_kuche', domain='media_player', unique_id='F4:34:F0:84:0E:59', name='HomePod Küche', supported_color_modes=[], entity_entry=RegistryEntry(entity_id='media_player.homepod_kuche', unique_id='F4:34:F0:84:0E:59', platform='apple_tv', aliases=set(), area_id=None, capabilities={}, config_entry_id='219314d3195648861191b6eac0036529', device_class=None, device_id='6f213bd20af93a98c25e4684cc397051', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='53ccfc6a8c1e21ca06d6930581a635fa', has_entity_name=True, name=None, options={'conversation': {'should_expose': False}}, original_device_class=None, original_icon=None, original_name=None, supported_features=448439, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='kuche', config_entries={'219314d3195648861191b6eac0036529'}, configuration_url=None, connections={('mac', 'f4:34:f0:84:0e:59')}, disabled_by=None, entry_type=None, hw_version=None, id='6f213bd20af93a98c25e4684cc397051', identifiers={('apple_tv', 'F4:34:F0:84:0E:59')}, manufacturer='Apple', model='HomePod Mini', name_by_user='HomePod Küche', name='Default Room', suggested_area=None, sw_version='17.0', via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a523bae50>, 'manufacturer': 'apple', 'model': 'HomePod Mini'}
2023-10-07 20:53:48.121 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'switch.hwr_schalter_luftung', 'source_entity': SourceEntity(object_id='hwr_schalter_luftung', entity_id='switch.hwr_schalter_luftung', domain='switch', unique_id='0xa4c13817e84e5aa8_switch_zigbee2mqtt', name='HWR - Schalter - Lüftung', supported_color_modes=[], entity_entry=RegistryEntry(entity_id='switch.hwr_schalter_luftung', unique_id='0xa4c13817e84e5aa8_switch_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities=None, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='1d05314b9119114c04a6927325a5df90', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='4d36fc930bebda8cb8649be6c97eb360', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=0, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='hwr', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='1d05314b9119114c04a6927325a5df90', identifiers={('mqtt', 'zigbee2mqtt_0xa4c13817e84e5aa8')}, manufacturer='TuYa', model='Smart plug (with power monitoring) (TS011F_plug_1)', name_by_user=None, name='HWR - Schalter - Lüftung', suggested_area=None, sw_version=None, via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a524fe810>, 'manufacturer': 'tuya', 'model': 'TS011F'}
2023-10-07 20:53:48.121 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'switch.buro_schalter_schreibtisch_hannes', 'source_entity': SourceEntity(object_id='buro_schalter_schreibtisch_hannes', entity_id='switch.buro_schalter_schreibtisch_hannes', domain='switch', unique_id='0xa4c13885a957a99c_switch_zigbee2mqtt', name='Büro - Schalter - Schreibtisch Hannes', supported_color_modes=[], entity_entry=RegistryEntry(entity_id='switch.buro_schalter_schreibtisch_hannes', unique_id='0xa4c13885a957a99c_switch_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities=None, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='b8e60127781eb6ac5dca29f9241d2cd7', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='d9edc25e90f25a50d71e117179450d8e', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=0, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='buro', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='b8e60127781eb6ac5dca29f9241d2cd7', identifiers={('mqtt', 'zigbee2mqtt_0xa4c13885a957a99c')}, manufacturer='TuYa', model='Smart plug (with power monitoring) (TS011F_plug_1)', name_by_user=None, name='Büro - Schalter - Schreibtisch Hannes', suggested_area=None, sw_version=None, via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a524fe810>, 'manufacturer': 'tuya', 'model': 'TS011F'}
2023-10-07 20:53:48.121 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'switch.buro_schalter_schreibtisch_pia', 'source_entity': SourceEntity(object_id='buro_schalter_schreibtisch_pia', entity_id='switch.buro_schalter_schreibtisch_pia', domain='switch', unique_id='0xa4c1381a13584d5a_switch_zigbee2mqtt', name='Büro - Schalter - Schreibtisch Pia', supported_color_modes=[], entity_entry=RegistryEntry(entity_id='switch.buro_schalter_schreibtisch_pia', unique_id='0xa4c1381a13584d5a_switch_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities=None, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='c7839f7f8239885857f4d687104ef0fc', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='6d9c56ca4dd941da2d8b04ba76c80077', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=0, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='buro', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='c7839f7f8239885857f4d687104ef0fc', identifiers={('mqtt', 'zigbee2mqtt_0xa4c1381a13584d5a')}, manufacturer='TuYa', model='Smart plug (with power monitoring) (TS011F_plug_1)', name_by_user=None, name='Büro - Schalter - Schreibtisch Pia', suggested_area=None, sw_version=None, via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a524fe810>, 'manufacturer': 'tuya', 'model': 'TS011F'}
2023-10-07 20:53:48.121 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'switch.kuche_schalter_kuhlschrank', 'source_entity': SourceEntity(object_id='kuche_schalter_kuhlschrank', entity_id='switch.kuche_schalter_kuhlschrank', domain='switch', unique_id='0xa4c1384da5fe6b81_switch_zigbee2mqtt', name='Küche - Schalter - Kühlschrank', supported_color_modes=[], entity_entry=RegistryEntry(entity_id='switch.kuche_schalter_kuhlschrank', unique_id='0xa4c1384da5fe6b81_switch_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities=None, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='f9f69ae15cae9d10af75afbbce6df4b3', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='9b25fdd5084e817e20e5afb08438915f', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=0, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='kuche', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='f9f69ae15cae9d10af75afbbce6df4b3', identifiers={('mqtt', 'zigbee2mqtt_0xa4c1384da5fe6b81')}, manufacturer='TuYa', model='Smart plug (with power monitoring) (TS011F_plug_1)', name_by_user=None, name='Küche - Schalter - Kühlschrank', suggested_area=None, sw_version=None, via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a524fe810>, 'manufacturer': 'tuya', 'model': 'TS011F'}
2023-10-07 20:53:48.122 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'light.schlafzimmer_licht_bett', 'source_entity': SourceEntity(object_id='schlafzimmer_licht_bett', entity_id='light.schlafzimmer_licht_bett', domain='light', unique_id='0x0017880109be3573_light_zigbee2mqtt', name='Schlafzimmer - Licht - Bett', supported_color_modes=['color_temp', 'xy'], entity_entry=RegistryEntry(entity_id='light.schlafzimmer_licht_bett', unique_id='0x0017880109be3573_light_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities={'min_color_temp_kelvin': 2000, 'max_color_temp_kelvin': 6666, 'min_mireds': 150, 'max_mireds': 500, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'candle', 'fireplace', 'colorloop', 'finish_effect', 'stop_effect', 'stop_hue_effect'], 'supported_color_modes': ['color_temp', 'xy']}, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='a39a538ecf1f3e43859fb7d8922590f5', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='c76ed14eaa80780141cbc07f026487d0', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=44, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='schlafzimmer', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='a39a538ecf1f3e43859fb7d8922590f5', identifiers={('mqtt', 'zigbee2mqtt_0x0017880109be3573')}, manufacturer='Philips', model='Hue white and color ambiance LightStrip plus (8718699703424)', name_by_user=None, name='Schlafzimmer - Licht - Bett', suggested_area=None, sw_version='1.104.2', via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a523f14d0>, 'manufacturer': 'signify', 'model': 'LCL001'}
2023-10-07 20:53:48.122 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'light.wohnzimmer_licht_fernseher', 'source_entity': SourceEntity(object_id='wohnzimmer_licht_fernseher', entity_id='light.wohnzimmer_licht_fernseher', domain='light', unique_id='0x0017880109be2e19_light_zigbee2mqtt', name='Wohnzimmer - Licht - Fernseher', supported_color_modes=['color_temp', 'xy'], entity_entry=RegistryEntry(entity_id='light.wohnzimmer_licht_fernseher', unique_id='0x0017880109be2e19_light_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities={'min_color_temp_kelvin': 2000, 'max_color_temp_kelvin': 6666, 'min_mireds': 150, 'max_mireds': 500, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'candle', 'fireplace', 'colorloop', 'finish_effect', 'stop_effect', 'stop_hue_effect'], 'supported_color_modes': ['color_temp', 'xy']}, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='c37956d12a260a22861cc05c976ddc29', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='9a63662b54e19678a075d1917c2a14bb', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=44, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='wohnzimmer', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='c37956d12a260a22861cc05c976ddc29', identifiers={('mqtt', 'zigbee2mqtt_0x0017880109be2e19')}, manufacturer='Philips', model='Hue white and color ambiance LightStrip plus (8718699703424)', name_by_user=None, name='Wohnzimmer - Licht - Fernseher', suggested_area=None, sw_version='1.104.2', via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a523f14d0>, 'manufacturer': 'signify', 'model': 'LCL001'}
2023-10-07 20:53:48.122 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'switch.wohnzimmer_schalter_entertainment', 'source_entity': SourceEntity(object_id='wohnzimmer_schalter_entertainment', entity_id='switch.wohnzimmer_schalter_entertainment', domain='switch', unique_id='0xa4c138d9f6c2e023_switch_zigbee2mqtt', name='Wohnzimmer - Schalter - Entertainment', supported_color_modes=[], entity_entry=RegistryEntry(entity_id='switch.wohnzimmer_schalter_entertainment', unique_id='0xa4c138d9f6c2e023_switch_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities=None, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='9816e6a48c90e54d5b2dab36158c1426', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='c6709f1534449ec3a6ed3b111773b67b', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=0, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='wohnzimmer', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='9816e6a48c90e54d5b2dab36158c1426', identifiers={('mqtt', 'zigbee2mqtt_0xa4c138d9f6c2e023')}, manufacturer='TuYa', model='Smart plug (with power monitoring) (TS011F_plug_1)', name_by_user=None, name='Wohnzimmer - Schalter - Entertainment', suggested_area=None, sw_version=None, via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a524fe810>, 'manufacturer': 'tuya', 'model': 'TS011F'}
2023-10-07 20:53:48.122 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'light.schlafzimmer_licht_decke', 'source_entity': SourceEntity(object_id='schlafzimmer_licht_decke', entity_id='light.schlafzimmer_licht_decke', domain='light', unique_id='0x0017880104abf34c_light_zigbee2mqtt', name='Schlafzimmer - Licht - Decke', supported_color_modes=['color_temp', 'xy'], entity_entry=RegistryEntry(entity_id='light.schlafzimmer_licht_decke', unique_id='0x0017880104abf34c_light_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities={'min_color_temp_kelvin': 2000, 'max_color_temp_kelvin': 6535, 'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'candle', 'fireplace', 'colorloop', 'finish_effect', 'stop_effect', 'stop_hue_effect'], 'supported_color_modes': ['color_temp', 'xy']}, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='08d9f361dc26931a095db91b9519d7b9', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='55c4743bc6645517a7b412f1e4d2e19b', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=44, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='schlafzimmer', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='08d9f361dc26931a095db91b9519d7b9', identifiers={('mqtt', 'zigbee2mqtt_0x0017880104abf34c')}, manufacturer='Philips', model='Hue white and color ambiance E26/E27/E14 (9290012573A)', name_by_user=None, name='Schlafzimmer - Licht - Decke', suggested_area=None, sw_version='1.108.5', via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a523de110>, 'manufacturer': 'signify', 'model': 'LCT015'}
2023-10-07 20:53:48.122 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'light.bad_licht_dusche', 'source_entity': SourceEntity(object_id='bad_licht_dusche', entity_id='light.bad_licht_dusche', domain='light', unique_id='0x001788010425a893_light_zigbee2mqtt', name='Bad - Licht - Dusche', supported_color_modes=['color_temp', 'xy'], entity_entry=RegistryEntry(entity_id='light.bad_licht_dusche', unique_id='0x001788010425a893_light_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities={'min_color_temp_kelvin': 2000, 'max_color_temp_kelvin': 6535, 'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'candle', 'fireplace', 'colorloop', 'finish_effect', 'stop_effect', 'stop_hue_effect'], 'supported_color_modes': ['color_temp', 'xy']}, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='29809c4d58800e30b0e9c1e367a59fe0', disabled_by=None, entity_category=None, hidden_by=<RegistryEntryHider.INTEGRATION: 'integration'>, icon=None, id='e1c6275de9be9f2539e2c6fff1830bef', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=44, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='bad', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='29809c4d58800e30b0e9c1e367a59fe0', identifiers={('mqtt', 'zigbee2mqtt_0x001788010425a893')}, manufacturer='Philips', model='Hue white and color ambiance E26/E27/E14 (9290012573A)', name_by_user=None, name='Bad - Licht - Dusche', suggested_area=None, sw_version='1.108.5', via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a523de110>, 'manufacturer': 'signify', 'model': 'LCT015'}
2023-10-07 20:53:48.122 DEBUG (MainThread) [custom_components.powercalc.config_flow] Starting discovery flow: {'entity_id': 'light.bad_licht_decke_spiegel', 'source_entity': SourceEntity(object_id='bad_licht_decke_spiegel', entity_id='light.bad_licht_decke_spiegel', domain='light', unique_id='0x001788010425aab7_light_zigbee2mqtt', name='Bad - Licht - Decke - Spiegel', supported_color_modes=['color_temp', 'xy'], entity_entry=RegistryEntry(entity_id='light.bad_licht_decke_spiegel', unique_id='0x001788010425aab7_light_zigbee2mqtt', platform='mqtt', aliases=set(), area_id=None, capabilities={'min_color_temp_kelvin': 2000, 'max_color_temp_kelvin': 6535, 'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'candle', 'fireplace', 'colorloop', 'finish_effect', 'stop_effect', 'stop_hue_effect'], 'supported_color_modes': ['color_temp', 'xy']}, config_entry_id='5bfef98dc3b2690a4e8e178abbea0c11', device_class=None, device_id='0d7396e729b4b545b3ac52d7bb7ec410', disabled_by=None, entity_category=None, hidden_by=<RegistryEntryHider.INTEGRATION: 'integration'>, icon=None, id='35a19e9c5552fa687f9e22830f71e023', has_entity_name=True, name=None, options={'conversation': {'should_expose': True}}, original_device_class=None, original_icon=None, original_name=None, supported_features=44, translation_key=None, unit_of_measurement=None), device_entry=DeviceEntry(area_id='bad', config_entries={'5bfef98dc3b2690a4e8e178abbea0c11'}, configuration_url=None, connections=set(), disabled_by=None, entry_type=None, hw_version=None, id='0d7396e729b4b545b3ac52d7bb7ec410', identifiers={('mqtt', 'zigbee2mqtt_0x001788010425aab7')}, manufacturer='Philips', model='Hue white and color ambiance E26/E27/E14 (9290012573A)', name_by_user=None, name='Bad - Licht - Decke - Spiegel', suggested_area=None, sw_version='1.108.5', via_device_id=None, is_new=False)), 'power_profile': <custom_components.powercalc.power_profile.power_profile.PowerProfile object at 0x7f3a523de110>, 'manufacturer': 'signify', 'model': 'LCT015'}

Diagnostics dump or YAML config

No response

bramstroker commented 10 months ago

Did you also try resetting using service powercalc provides?

https://homeassistant-powercalc.readthedocs.io/en/latest/sensor-types/energy-sensor.html#resetting-energy-sensor

github-actions[bot] commented 9 months ago

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.

github-actions[bot] commented 9 months ago

This issue was closed because it has been stalled for 5 days with no activity.