bramstroker / homeassistant-powercalc

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

Negative values for a group created by Powercalc that includes existing energy sensors #1543

Closed CM000n closed 1 year ago

CM000n commented 1 year ago

System Health details

Sorry, but I can't find taht button on my HA Docker :-/

Checklist

Describe the issue

I have a very strange problem where the Home Assistant Energy Dashboard shows negative values for a group created by Powercalc that includes existing energy sensors.

This is what my energy dashboard looks like: Screenshot 2023-03-02 205059 Screenshot 2023-03-02 205126

This is what the part of the config for the energy group looks like:

      - create_group: "Energie Büro & Nähzimmer"
        entities:
          - name: "Energie Büro Deckenlampe"
            unique_id: "4466714e59a64e66a254816003497341"
            entity_id: "light.buro_deckenleuchte"
          - name: "Energie Nähtisch Deckenlampe"
            unique_id: "e7326597a98a433ba995bb9b0c71e5c7"
            entity_id: "light.nahtisch_decke"
          - name: "Energie Nähtisch Wandlampe"
            unique_id: "aade0a460235472ab3716e1e3ce18b0c"
            entity_id: "light.nahtisch_wand"
          - name: "Energie Steckdose Büro Ecke"
            unique_id: "5d867c6661f7420dab97e6ddfcb1efd2"
            entity_id: "switch.shelly_1pm_buero_ecke"
            power_sensor_id: "sensor.shelly_1pm_buero_ecke_power"
          - name: "Energie Steckdose Büro Tür"
            unique_id: "b6565ac585ff4b14b1b6f34a867586ae"
            entity_id: "switch.shelly_1pm_buero_tuer"
            power_sensor_id: "sensor.shelly_1pm_buero_tuer_power"

The two existing energy sensors contained in it are the enitiy_ids switch.shelly_1pm_buero_ecke and sensor.shelly_1pm_buero_tuer_power.

These are ESP Home devices that also provide an daily energy meter for via the total_daily_energy platform. When I look at them, it seems that the negative values are generated at the same time when the energy meter for the daily values resets (00:00 UTC, 01:00 CET): Screenshot 2023-03-02 205259

However, when I look at the energy meters generated by powercal for the yearly values, there are no anomalies to be seen either for the indivual lamps or for the two ESP energy meters in the group.

Reproduction steps

  1. Add a ESP Home Power Meter to a Powercalc Group
  2. Add that Powercalc Group to the Energy Dashboard
  3. Wait till midnight (UTC) to see if it produces negative values

Debug logs

2023-03-02 21:17:55.815 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration attributes 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-03-02 21:17:55.816 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration monitor_docker 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-03-02 21:17:55.817 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration pyscript 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-03-02 21:17:55.818 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_cloud_map_extractor 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-03-02 21:17:55.819 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hpprinter 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-03-02 21:17:55.819 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dwd_weather 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-03-02 21:17:55.820 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration openmediavault 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-03-02 21:17:55.820 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration deutschebahn 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-03-02 21:17:55.821 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration adaptive_lighting 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-03-02 21:17:55.822 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod 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-03-02 21:17:55.822 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-03-02 21:17:55.823 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dwd_pollenflug 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-03-02 21:17:55.824 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration toyota 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-03-02 21:17:55.824 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-03-02 21:17:55.825 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration places 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-03-02 21:17:55.825 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-03-02 21:17:55.826 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ltss 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-03-02 21:17:55.827 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration qss 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-03-02 21:18:38.664 WARNING (MainThread) [homeassistant.config] Package customize contains invalid customize
2023-03-02 21:18:48.397 DEBUG (MainThread) [custom_components.powercalc.discovery] Start auto discovering entities
2023-03-02 21:18:48.397 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.buro: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.397 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.schlafzimmer: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.397 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.wohnzimmer: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.397 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wasserpumpe: Auto discovered model (manufacturer=espressif, model=PLATFORMIO_NODEMCUV2)
2023-03-02 21:18:48.397 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wasserpumpe: Model not found in library, skipping discovery
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.steckdose_spulmaschine: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.steckdose_trockner: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.steckdose_waschmaschine: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.steckdose_ankleide: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_kuche_herd: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_sleep_mode_kuche_herd: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_adapt_color_kuche_herd: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_adapt_brightness_kuche_herd: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_kuche_esstisch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_sleep_mode_kuche_esstisch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_adapt_color_kuche_esstisch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_adapt_brightness_kuche_esstisch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.kueche: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.bad: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly1pm_76d8e1_internet_access: Auto discovered model (manufacturer=Espressif, model=esp01_1m)
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly1pm_76d8e1_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly1pm_76da84_internet_access: Auto discovered model (manufacturer=Espressif, model=esp01_1m)
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly1pm_76da84_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.398 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_kuche_crossfade: Auto discovered model (manufacturer=Sonos, model=Play:1)
2023-03-02 21:18:48.404 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_kuche_crossfade: Model not found in library, skipping discovery
2023-03-02 21:18:48.405 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_bad_crossfade: Auto discovered model (manufacturer=Sonos, model=SYMFONISK Bookshelf)
2023-03-02 21:18:48.405 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_wohnzimmer_crossfade: Auto discovered model (manufacturer=Sonos, model=SYMFONISK Bookshelf)
2023-03-02 21:18:48.405 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.lisasimon_tv: Auto discovered model (manufacturer=Google, model=Chromecast)
2023-03-02 21:18:48.410 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.lisasimon_tv: Model not found in library, skipping discovery
2023-03-02 21:18:48.410 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.homemini_wohnzimmer: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.410 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_schlafzimmer_crossfade: Auto discovered model (manufacturer=Sonos, model=Play:1)
2023-03-02 21:18:48.410 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_schlafzimmer_crossfade: Model not found in library, skipping discovery
2023-03-02 21:18:48.410 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.redmi_note_11_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.redmi_note_11_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] light.eingangstur_decke: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_lightstrip: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_weihnachtsstern: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] light.nahtisch_wand: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schlafzimmer_nachttisch_lisa: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] light.flur_deckenleuchte_1: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wandlampe_3: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.411 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schlafzimmer_nachttisch_simon: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wandlampe_1: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kinderzimmer_deckenlampe: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] light.flur_deckenleuchte_2: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] light.buro_deckenleuchte: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kinderzimmer_tischleuchte: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wandlampe_2: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] light.nahtisch_decke: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] light.buro_schreibtisch: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.412 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.eingangstur_bewegungsmelder_motion: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue outdoor motion sensor (SML002))
2023-03-02 21:18:48.441 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.eingangstur_bewegungsmelder_motion: Model not found in library, skipping discovery
2023-03-02 21:18:48.442 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.eingangstur_bewegungsmelder_illuminance: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue outdoor motion sensor (SML002))
2023-03-02 21:18:48.443 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.eingangstur_bewegungsmelder_illuminance: Model not found in library, skipping discovery
2023-03-02 21:18:48.444 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.kuche_loudness: Auto discovered model (manufacturer=Sonos, model=Play:1)
2023-03-02 21:18:48.444 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.kuche_loudness: Model not found in library, skipping discovery
2023-03-02 21:18:48.444 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.bad_loudness: Auto discovered model (manufacturer=Sonos, model=SYMFONISK Bookshelf)
2023-03-02 21:18:48.444 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.wohnzimmer_loudness: Auto discovered model (manufacturer=Sonos, model=SYMFONISK Bookshelf)
2023-03-02 21:18:48.444 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.schlafzimmer_loudness: Auto discovered model (manufacturer=Sonos, model=Play:1)
2023-03-02 21:18:48.444 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.schlafzimmer_loudness: Model not found in library, skipping discovery
2023-03-02 21:18:48.445 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.steckdose_wohnzimmer: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.445 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_call_deflection_0_2: Auto discovered model (manufacturer=AVM, model=FRITZ!Box 6660 Cable)
2023-03-02 21:18:48.445 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_call_deflection_0_2: Model not found in library, skipping discovery
2023-03-02 21:18:48.445 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_call_deflection_1_2: Auto discovered model (manufacturer=AVM, model=FRITZ!Box 6660 Cable)
2023-03-02 21:18:48.445 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_call_deflection_1_2: Model not found in library, skipping discovery
2023-03-02 21:18:48.445 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_call_deflection_2_2: Auto discovered model (manufacturer=AVM, model=FRITZ!Box 6660 Cable)
2023-03-02 21:18:48.445 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_call_deflection_2_2: Model not found in library, skipping discovery
2023-03-02 21:18:48.446 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_wi_fi_goepferich_2_4ghz_2: Auto discovered model (manufacturer=AVM, model=FRITZ!Box 6660 Cable)
2023-03-02 21:18:48.446 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_wi_fi_goepferich_2_4ghz_2: Model not found in library, skipping discovery
2023-03-02 21:18:48.446 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_wi_fi_goepferich_5ghz_2: Auto discovered model (manufacturer=AVM, model=FRITZ!Box 6660 Cable)
2023-03-02 21:18:48.446 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_wi_fi_goepferich_5ghz_2: Model not found in library, skipping discovery
2023-03-02 21:18:48.446 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_wi_fi_goepferich_gastzugang_2: Auto discovered model (manufacturer=AVM, model=FRITZ!Box 6660 Cable)
2023-03-02 21:18:48.446 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.fritz_box_6660_cable_wi_fi_goepferich_gastzugang_2: Model not found in library, skipping discovery
2023-03-02 21:18:48.446 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.connect_amp_crossfade: Auto discovered model (manufacturer=Sonos, model=Connect:Amp)
2023-03-02 21:18:48.447 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.connect_amp_crossfade: Model not found in library, skipping discovery
2023-03-02 21:18:48.447 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.connect_amp_loudness: Auto discovered model (manufacturer=Sonos, model=Connect:Amp)
2023-03-02 21:18:48.447 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.connect_amp_loudness: Model not found in library, skipping discovery
2023-03-02 21:18:48.447 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_deckenleuchte: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.447 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schlafzimmer_deckenlampe: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.447 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.npi251371_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.447 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.npi251371_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.447 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.pixel_6a_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.448 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.pixel_6a_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.448 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.rauchmelder_buro_switch: Auto discovered model (manufacturer=frient A/S, model=SMSZB-120)
2023-03-02 21:18:48.448 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.rauchmelder_buro_switch: Model not found in library, skipping discovery
2023-03-02 21:18:48.448 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.frient_a_s_smszb_120_switch: Auto discovered model (manufacturer=frient A/S, model=SMSZB-120)
2023-03-02 21:18:48.448 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.frient_a_s_smszb_120_switch: Model not found in library, skipping discovery
2023-03-02 21:18:48.448 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_stehlampe_rechts: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.448 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kuche_esstisch: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.449 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kuche_herd: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.449 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.android_tv_192_168_178_9: Auto discovered model (manufacturer=Google, model=Chromecast (Android TV))
2023-03-02 21:18:48.449 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.android_tv_192_168_178_9: Model not found in library, skipping discovery
2023-03-02 21:18:48.449 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.vitoconnect_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.449 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.vitoconnect_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.449 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.lisi_robi_internet_access: Auto discovered model (manufacturer=Aqara, model=roborock.vacuum.s6)
2023-03-02 21:18:48.452 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.lisi_robi_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.452 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.lisi_laptop_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.452 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.lisi_laptop_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.452 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.dm_pf2l2j0l_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.452 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.dm_pf2l2j0l_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_adaptives_licht: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_sleep_mode_adaptives_licht: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_adapt_color_adaptives_licht: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.adaptive_lighting_adapt_brightness_adaptives_licht: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.juergen_handy_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.juergen_handy_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.esp_653b59_internet_access: Auto discovered model (manufacturer=Espressif, model=esp01_1m)
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.esp_653b59_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.lisi_chromecast_internet_access: Auto discovered model (manufacturer=Google, model=Chromecast (Android TV))
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.lisi_chromecast_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.simon_ipad_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.simon_ipad_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.toniebox_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.toniebox_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly_1pm_bad_spiegellampe: Auto discovered model (manufacturer=Espressif, model=esp01_1m)
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly_1pm_bad_spiegellampe: Model not found in library, skipping discovery
2023-03-02 21:18:48.453 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly_1pm_bad_deckenlampe: Auto discovered model (manufacturer=Espressif, model=esp01_1m)
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly_1pm_bad_deckenlampe: Model not found in library, skipping discovery
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] light.shelly_badspiegel: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] light.shelly_deckenlampe_bad: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly1pm_8caab505f914_internet_access: Auto discovered model (manufacturer=Espressif, model=esp01_1m)
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly1pm_8caab505f914_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly1pm_8caab505fb73_internet_access: Auto discovered model (manufacturer=Espressif, model=esp01_1m)
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly1pm_8caab505fb73_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly_1pm_buero_tuer: Entity is manually configured, skipping auto configuration
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.andreajuergen_tv: Auto discovered model (manufacturer=Signify Netherlands B.V., model=TPM191E)
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.andreajuergen_tv: Model not found in library, skipping discovery
2023-03-02 21:18:48.454 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.pc_d0_ae_ec_28_2b_60_internet_access: Auto discovered model (manufacturer=AVM, model=FRITZ!Box Tracked device)
2023-03-02 21:18:48.455 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.pc_d0_ae_ec_28_2b_60_internet_access: Model not found in library, skipping discovery
2023-03-02 21:18:48.455 DEBUG (MainThread) [custom_components.powercalc.discovery] Done auto discovering entities
2023-03-02 21:18:52.639 WARNING (MainThread) [homeassistant.setup] Setup of sql is taking over 10 seconds.
2023-03-02 21:18:56.668 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x288C:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>')]
2023-03-02 21:18:57.212 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x288C:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>')]
2023-03-02 21:18:59.321 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for openmediavault using this method at custom_components/openmediavault/__init__.py, line 37: hass.config_entries.async_setup_platforms(config_entry, PLATFORMS)
2023-03-02 21:19:17.318 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2023-03-02 21:19:20.838 WARNING (MainThread) [homeassistant.components.tts] TTS base_url option is deprecated. Configure internal/external URL instead
2023-03-02 21:19:25.007 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Found existing energy sensor 'sensor.shelly_1pm_bad_spiegellampe_daily_energy' for the power sensor 'sensor.shelly_1pm_bad_spiegellampe_power'
2023-03-02 21:19:25.007 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: shelly-1pm-bad-spiegellampe daily energy yearly (entity_id=sensor.shelly_1pm_bad_spiegellampe_daily_energy_yearly)
2023-03-02 21:19:25.008 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Found existing energy sensor 'sensor.shelly_1pm_bad_deckenlampe_daily_energy' for the power sensor 'sensor.shelly_1pm_bad_deckenlampe_power'
2023-03-02 21:19:25.008 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: shelly-1pm-bad-deckenlampe daily energy yearly (entity_id=sensor.shelly_1pm_bad_deckenlampe_daily_energy_yearly)
2023-03-02 21:19:25.008 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.bad: Auto discovered model (manufacturer=Sonos, model=SYMFONISK Bookshelf)
2023-03-02 21:19:25.008 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=media_player.bad entity_category=None, sensor_name=Energie Bad Sonos power strategy=LinearStrategy manufacturer=sonos model=symfonisk bookshelf standby_power=2.56 unique_id=8f25c2ca62af4a7ebe53343ea55eedde)
2023-03-02 21:19:25.009 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Bad Sonos energy
2023-03-02 21:19:25.009 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Bad Sonos energy yearly (entity_id=sensor.energie_bad_sonos_energy_yearly)
2023-03-02 21:19:25.010 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Bad power (entity_id=sensor.energie_bad_power)
2023-03-02 21:19:25.011 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Bad energy (entity_id=sensor.energie_bad_energy)
2023-03-02 21:19:25.011 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Bad energy yearly (entity_id=sensor.energie_bad_energy_yearly)
2023-03-02 21:19:25.012 DEBUG (MainThread) [custom_components.powercalc.discovery] light.buro_deckenleuchte: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCT015))
2023-03-02 21:19:25.013 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/signify/LCT015/color_temp.csv.gz
2023-03-02 21:19:25.053 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 2958 lines
2023-03-02 21:19:25.054 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.buro_deckenleuchte entity_category=None, sensor_name=Energie Büro Deckenlampe power strategy=LutStrategy manufacturer=signify model=LCT015 standby_power=0.47 unique_id=4466714e59a64e66a254816003497341)
2023-03-02 21:19:25.054 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Büro Deckenlampe energy
2023-03-02 21:19:25.054 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Büro Deckenlampe energy yearly (entity_id=sensor.energie_buro_deckenlampe_energy_yearly)
2023-03-02 21:19:25.055 DEBUG (MainThread) [custom_components.powercalc.discovery] light.nahtisch_decke: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCE002))
2023-03-02 21:19:25.055 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/signify/LCE002/color_temp.csv.gz
2023-03-02 21:19:25.104 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 2958 lines
2023-03-02 21:19:25.105 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.nahtisch_decke entity_category=None, sensor_name=Energie Nähtisch Deckenlampe power strategy=LutStrategy manufacturer=signify model=LCE002 standby_power=0.28 unique_id=e7326597a98a433ba995bb9b0c71e5c7)
2023-03-02 21:19:25.105 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Nähtisch Deckenlampe energy
2023-03-02 21:19:25.105 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Nähtisch Deckenlampe energy yearly (entity_id=sensor.energie_nahtisch_deckenlampe_energy_yearly)
2023-03-02 21:19:25.106 DEBUG (MainThread) [custom_components.powercalc.discovery] light.nahtisch_wand: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCE002))
2023-03-02 21:19:25.106 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.nahtisch_wand entity_category=None, sensor_name=Energie Nähtisch Wandlampe power strategy=LutStrategy manufacturer=signify model=LCE002 standby_power=0.28 unique_id=aade0a460235472ab3716e1e3ce18b0c)
2023-03-02 21:19:25.106 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Nähtisch Wandlampe energy
2023-03-02 21:19:25.106 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Nähtisch Wandlampe energy yearly (entity_id=sensor.energie_nahtisch_wandlampe_energy_yearly)
2023-03-02 21:19:25.107 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Found existing energy sensor 'sensor.shelly_1pm_buero_ecke_daily_energy' for the power sensor 'sensor.shelly_1pm_buero_ecke_power'
2023-03-02 21:19:25.108 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: shelly-1pm-buero-ecke daily energy yearly (entity_id=sensor.shelly_1pm_buero_ecke_daily_energy_yearly)
2023-03-02 21:19:25.109 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Found existing energy sensor 'sensor.shelly_1pm_buero_tuer_daily_energy' for the power sensor 'sensor.shelly_1pm_buero_tuer_power'
2023-03-02 21:19:25.110 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: shelly-1pm-buero-tuer daily energy yearly (entity_id=sensor.shelly_1pm_buero_tuer_daily_energy_yearly)
2023-03-02 21:19:25.114 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Büro & Nähzimmer power (entity_id=sensor.energie_buro_nahzimmer_power)
2023-03-02 21:19:25.114 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Büro & Nähzimmer energy (entity_id=sensor.energie_buro_nahzimmer_energy)
2023-03-02 21:19:25.114 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Büro & Nähzimmer energy yearly (entity_id=sensor.energie_buro_nahzimmer_energy_yearly)
2023-03-02 21:19:25.115 DEBUG (MainThread) [custom_components.powercalc.discovery] light.eingangstur_decke: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue white lamp (LWA001))
2023-03-02 21:19:25.117 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/signify/LWA001/brightness.csv.gz
2023-03-02 21:19:25.119 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 255 lines
2023-03-02 21:19:25.120 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.eingangstur_decke entity_category=None, sensor_name=Energie Eingangstür Deckenlampe power strategy=LutStrategy manufacturer=signify model=LWA001 standby_power=0.40 unique_id=b8e6bdee-cda8-4b25-99ae-4b5d5320aaab)
2023-03-02 21:19:25.120 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Eingangstür Deckenlampe energy
2023-03-02 21:19:25.120 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Eingangstür Deckenlampe energy yearly (entity_id=sensor.energie_eingangstur_deckenlampe_energy_yearly)
2023-03-02 21:19:25.121 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Eingangstür power (entity_id=sensor.energie_eingangstur_power)
2023-03-02 21:19:25.121 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Eingangstür energy (entity_id=sensor.energie_eingangstur_energy)
2023-03-02 21:19:25.121 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Eingangstür energy yearly (entity_id=sensor.energie_eingangstur_energy_yearly)
2023-03-02 21:19:25.121 DEBUG (MainThread) [custom_components.powercalc.discovery] light.flur_deckenleuchte_1: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCA006))
2023-03-02 21:19:25.122 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/signify/LCA006/color_temp.csv.gz
2023-03-02 21:19:25.162 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 1872 lines
2023-03-02 21:19:25.162 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.flur_deckenleuchte_1 entity_category=None, sensor_name=Energie Flur Deckenlampe 1 power strategy=LutStrategy manufacturer=signify model=LCA006 standby_power=0.40 unique_id=cc98826d3217450a8cd34d58a3facd02)
2023-03-02 21:19:25.162 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Flur Deckenlampe 1 energy
2023-03-02 21:19:25.163 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Flur Deckenlampe 1 energy yearly (entity_id=sensor.energie_flur_deckenlampe_1_energy_yearly)
2023-03-02 21:19:25.163 DEBUG (MainThread) [custom_components.powercalc.discovery] light.flur_deckenleuchte_2: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCA006))
2023-03-02 21:19:25.164 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.flur_deckenleuchte_2 entity_category=None, sensor_name=Energie Flur Deckenlampe 2 power strategy=LutStrategy manufacturer=signify model=LCA006 standby_power=0.40 unique_id=f8f571d6bb3c45f2ba12f469f1e774f3)
2023-03-02 21:19:25.164 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Flur Deckenlampe 2 energy
2023-03-02 21:19:25.164 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Flur Deckenlampe 2 energy yearly (entity_id=sensor.energie_flur_deckenlampe_2_energy_yearly)
2023-03-02 21:19:25.165 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Flur power (entity_id=sensor.energie_flur_power)
2023-03-02 21:19:25.165 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Flur energy (entity_id=sensor.energie_flur_energy)
2023-03-02 21:19:25.165 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Flur energy yearly (entity_id=sensor.energie_flur_energy_yearly)
2023-03-02 21:19:25.166 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Trockner yearly (entity_id=sensor.steckdose_trockner_total_energy_yearly)
2023-03-02 21:19:25.166 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Waschmaschine yearly (entity_id=sensor.steckdose_waschmaschine_total_energy_yearly)
2023-03-02 21:19:25.167 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Keller power (entity_id=sensor.energie_keller_power)
2023-03-02 21:19:25.167 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Keller energy (entity_id=sensor.energie_keller_energy)
2023-03-02 21:19:25.167 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Keller energy yearly (entity_id=sensor.energie_keller_energy_yearly)
2023-03-02 21:19:25.168 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kinderzimmer_deckenlampe: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCA001))
2023-03-02 21:19:25.169 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/signify/LCA001/color_temp.csv.gz
2023-03-02 21:19:25.201 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 1872 lines
2023-03-02 21:19:25.202 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.kinderzimmer_deckenlampe entity_category=None, sensor_name=Energie Kinderzimmer Deckenlampe power strategy=LutStrategy manufacturer=signify model=LCA001 standby_power=0.33 unique_id=023ed109d0644d138db7e2f5b31b7108)
2023-03-02 21:19:25.202 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Kinderzimmer Deckenlampe energy
2023-03-02 21:19:25.202 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Kinderzimmer Deckenlampe energy yearly (entity_id=sensor.energie_kinderzimmer_deckenlampe_energy_yearly)
2023-03-02 21:19:25.202 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kinderzimmer_tischleuchte: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCT012))
2023-03-02 21:19:25.205 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/signify/LCT012/color_temp.csv.gz
2023-03-02 21:19:25.239 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 2958 lines
2023-03-02 21:19:25.239 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.kinderzimmer_tischleuchte entity_category=None, sensor_name=Energie Kinderzimmer Tischleuchte power strategy=LutStrategy manufacturer=signify model=LCT012 standby_power=0.35 unique_id=b6ea9ceb63f84dcc90d757aad3e33f6f)
2023-03-02 21:19:25.239 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Kinderzimmer Tischleuchte energy
2023-03-02 21:19:25.239 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Kinderzimmer Tischleuchte energy yearly (entity_id=sensor.energie_kinderzimmer_tischleuchte_energy_yearly)
2023-03-02 21:19:25.240 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Steckdose Kinderzimmer yearly (entity_id=sensor.steckdose_ankleide_total_energy_yearly)
2023-03-02 21:19:25.241 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Kinderzimmer power (entity_id=sensor.energie_kinderzimmer_power)
2023-03-02 21:19:25.241 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Kinderzimmer energy (entity_id=sensor.energie_kinderzimmer_energy)
2023-03-02 21:19:25.241 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Kinderzimmer energy yearly (entity_id=sensor.energie_kinderzimmer_energy_yearly)
2023-03-02 21:19:25.242 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kuche_esstisch: Auto discovered model (manufacturer=ZigBee/CCT, model=CCT Light)
2023-03-02 21:19:25.242 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.kuche_esstisch entity_category=None, sensor_name=Energie Küche Esstischlampe power strategy=FixedStrategy manufacturer= model= standby_power=0.00 unique_id=b2eb38585e744c06a4f0fb29ab7359cf)
2023-03-02 21:19:25.242 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Küche Esstischlampe energy
2023-03-02 21:19:25.243 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Küche Esstischlampe energy yearly (entity_id=sensor.energie_kuche_esstischlampe_energy_yearly)
2023-03-02 21:19:25.243 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kuche_herd: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 WS�opal 980lm)
2023-03-02 21:19:25.254 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/ikea/LED1545G12/color_temp.csv.gz
2023-03-02 21:19:25.351 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 2958 lines
2023-03-02 21:19:25.351 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.kuche_herd entity_category=None, sensor_name=Energie Küche Herdlampe power strategy=LutStrategy manufacturer=ikea model=LED1545G12 standby_power=0.40 unique_id=f540144330c9467498b5bc9eb1bca75f)
2023-03-02 21:19:25.351 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Küche Herdlampe energy
2023-03-02 21:19:25.351 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Küche Herdlampe energy yearly (entity_id=sensor.energie_kuche_herdlampe_energy_yearly)
2023-03-02 21:19:25.352 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.kueche: Auto discovered model (manufacturer=Sonos, model=Play:1)
2023-03-02 21:19:25.352 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=media_player.kueche entity_category=None, sensor_name=Energie Küche Sonos power strategy=FixedStrategy manufacturer= model= standby_power=0.00 unique_id=dc7343d9dd6a4a07a4a4a3171eece2b3)
2023-03-02 21:19:25.352 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Küche Sonos energy
2023-03-02 21:19:25.352 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Küche Sonos energy yearly (entity_id=sensor.energie_kuche_sonos_energy_yearly)
2023-03-02 21:19:25.353 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Spülmaschine yearly (entity_id=sensor.steckdose_spulmaschine_total_energy_yearly)
2023-03-02 21:19:25.353 DEBUG (MainThread) [custom_components.powercalc.sensors.daily_energy] Creating daily_fixed_energy energy sensor (name=Energie Kühlschrank energy, entity_id=sensor.energie_kuhlschrank_energy, unique_id=fd98af4a00464c68ad33b115a2b23ee2)
2023-03-02 21:19:25.353 DEBUG (MainThread) [custom_components.powercalc.sensors.daily_energy] Creating daily_fixed_energy power sensor (base_name=Energie Kühlschrank unique_id=fd98af4a00464c68ad33b115a2b23ee2)
2023-03-02 21:19:25.354 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=sensor.dummy entity_category=None, sensor_name=Energie Kühlschrank power strategy=FixedStrategy manufacturer= model= standby_power=0.00 unique_id=fd98af4a00464c68ad33b115a2b23ee2_power)
2023-03-02 21:19:25.354 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Kühlschrank energy yearly (entity_id=sensor.energie_kuhlschrank_energy_yearly)
2023-03-02 21:19:25.354 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Küche power (entity_id=sensor.energie_kuche_power)
2023-03-02 21:19:25.355 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Küche energy (entity_id=sensor.energie_kuche_energy)
2023-03-02 21:19:25.355 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Küche energy yearly (entity_id=sensor.energie_kuche_energy_yearly)
2023-03-02 21:19:25.355 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schlafzimmer_deckenlampe: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCA001))
2023-03-02 21:19:25.356 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.schlafzimmer_deckenlampe entity_category=None, sensor_name=Energie Schlafzimmer Deckenlampe power strategy=LutStrategy manufacturer=signify model=LCA001 standby_power=0.33 unique_id=03b299b7586b4f158f64e990dadcfb06)
2023-03-02 21:19:25.357 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Schlafzimmer Deckenlampe energy
2023-03-02 21:19:25.357 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Schlafzimmer Deckenlampe energy yearly (entity_id=sensor.energie_schlafzimmer_deckenlampe_energy_yearly)
2023-03-02 21:19:25.357 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schlafzimmer_nachttisch_lisa: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCT012))
2023-03-02 21:19:25.359 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.schlafzimmer_nachttisch_lisa entity_category=None, sensor_name=Energie Schlafzimmer Nachttischlampe Lisa power strategy=LutStrategy manufacturer=signify model=LCT012 standby_power=0.35 unique_id=252bbf2a47c04ed0abb7732d8f5c6335)
2023-03-02 21:19:25.359 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Schlafzimmer Nachttischlampe Lisa energy
2023-03-02 21:19:25.359 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Schlafzimmer Nachttischlampe Lisa energy yearly (entity_id=sensor.energie_schlafzimmer_nachttischlampe_lisa_energy_yearly)
2023-03-02 21:19:25.360 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schlafzimmer_nachttisch_simon: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCT012))
2023-03-02 21:19:25.361 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.schlafzimmer_nachttisch_simon entity_category=None, sensor_name=Energie Schlafzimmer Nachttischlampe Simon power strategy=LutStrategy manufacturer=signify model=LCT012 standby_power=0.35 unique_id=814be6de96ee49139517988f37666594)
2023-03-02 21:19:25.361 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Schlafzimmer Nachttischlampe Simon energy
2023-03-02 21:19:25.361 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Schlafzimmer Nachttischlampe Simon energy yearly (entity_id=sensor.energie_schlafzimmer_nachttischlampe_simon_energy_yearly)
2023-03-02 21:19:25.362 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.schlafzimmer: Auto discovered model (manufacturer=Sonos, model=Play:1)
2023-03-02 21:19:25.362 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=media_player.schlafzimmer entity_category=None, sensor_name=Energie Schlafzimmer Sonos power strategy=FixedStrategy manufacturer= model= standby_power=0.00 unique_id=15dac3954bd04cd1bd2fef7fc3056902)
2023-03-02 21:19:25.362 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Schlafzimmer Sonos energy
2023-03-02 21:19:25.363 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Schlafzimmer Sonos energy yearly (entity_id=sensor.energie_schlafzimmer_sonos_energy_yearly)
2023-03-02 21:19:25.363 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Schlafzimmer power (entity_id=sensor.energie_schlafzimmer_power)
2023-03-02 21:19:25.363 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Schlafzimmer energy (entity_id=sensor.energie_schlafzimmer_energy)
2023-03-02 21:19:25.364 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Schlafzimmer energy yearly (entity_id=sensor.energie_schlafzimmer_energy_yearly)
2023-03-02 21:19:25.364 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wandlampe_1: Auto discovered model (manufacturer=IKEA of Sweden, model=Color temperature light (TRADFRI bulb GU10 WS 400lm))
2023-03-02 21:19:25.365 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/ikea/LED1537R6/color_temp.csv.gz
2023-03-02 21:19:25.433 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 2040 lines
2023-03-02 21:19:25.434 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.wandlampe_1 entity_category=None, sensor_name=Energie Treppenhaus Wandlampe 1 power strategy=LutStrategy manufacturer=ikea model=LED1537R6 standby_power=0.44 unique_id=456fe260a001442094e3f72fa816ef8e)
2023-03-02 21:19:25.434 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Treppenhaus Wandlampe 1 energy
2023-03-02 21:19:25.434 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Treppenhaus Wandlampe 1 energy yearly (entity_id=sensor.energie_treppenhaus_wandlampe_1_energy_yearly)
2023-03-02 21:19:25.434 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wandlampe_2: Auto discovered model (manufacturer=IKEA of Sweden, model=Color temperature light (TRADFRI bulb GU10 WS 400lm))
2023-03-02 21:19:25.435 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.wandlampe_2 entity_category=None, sensor_name=Energie Treppenhaus Wandlampe 2 power strategy=LutStrategy manufacturer=ikea model=LED1537R6 standby_power=0.44 unique_id=8ad0d70bf64e44a0ad8a747ab8b3947f)
2023-03-02 21:19:25.435 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Treppenhaus Wandlampe 2 energy
2023-03-02 21:19:25.435 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Treppenhaus Wandlampe 2 energy yearly (entity_id=sensor.energie_treppenhaus_wandlampe_2_energy_yearly)
2023-03-02 21:19:25.436 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wandlampe_3: Auto discovered model (manufacturer=IKEA of Sweden, model=Color temperature light (TRADFRI bulb GU10 WS 400lm))
2023-03-02 21:19:25.436 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.wandlampe_3 entity_category=None, sensor_name=Energie Treppenhaus Wandlampe 3 power strategy=LutStrategy manufacturer=ikea model=LED1537R6 standby_power=0.44 unique_id=148c33be34c14791aaa0290ee2f0d663)
2023-03-02 21:19:25.436 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Treppenhaus Wandlampe 3 energy
2023-03-02 21:19:25.437 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Treppenhaus Wandlampe 3 energy yearly (entity_id=sensor.energie_treppenhaus_wandlampe_3_energy_yearly)
2023-03-02 21:19:25.437 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Treppenhaus power (entity_id=sensor.energie_treppenhaus_power)
2023-03-02 21:19:25.437 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Treppenhaus energy (entity_id=sensor.energie_treppenhaus_energy)
2023-03-02 21:19:25.438 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Treppenhaus energy yearly (entity_id=sensor.energie_treppenhaus_energy_yearly)
2023-03-02 21:19:25.438 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_deckenleuchte: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCA001))
2023-03-02 21:19:25.439 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.wohnzimmer_deckenleuchte entity_category=None, sensor_name=Energie Wohnzimmer Deckenlampe power strategy=LutStrategy manufacturer=signify model=LCA001 standby_power=0.33 unique_id=7d4d98f1044b41058aed726cfe48aaef)
2023-03-02 21:19:25.439 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Wohnzimmer Deckenlampe energy
2023-03-02 21:19:25.439 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Wohnzimmer Deckenlampe energy yearly (entity_id=sensor.energie_wohnzimmer_deckenlampe_energy_yearly)
2023-03-02 21:19:25.440 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_lightstrip: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue lightstrip plus (LST002))
2023-03-02 21:19:25.440 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/power_profile/../data/signify/LST002/color_temp.csv.gz
2023-03-02 21:19:25.506 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 2958 lines
2023-03-02 21:19:25.506 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.wohnzimmer_lightstrip entity_category=None, sensor_name=Energie Wohnzimmer Lightstrip power strategy=LutStrategy manufacturer=signify model=LST002 standby_power=0.18 unique_id=9ac3319f40324ac586195c03bd3665c0)
2023-03-02 21:19:25.506 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Wohnzimmer Lightstrip energy
2023-03-02 21:19:25.507 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Wohnzimmer Lightstrip energy yearly (entity_id=sensor.energie_wohnzimmer_lightstrip_energy_yearly)
2023-03-02 21:19:25.507 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_stehlampe_rechts: Auto discovered model (manufacturer=ZigBee/CCT, model=CCT Light)
2023-03-02 21:19:25.507 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.wohnzimmer_stehlampe_rechts entity_category=None, sensor_name=Energie Wohnzimmer Stehlampe rechts power strategy=FixedStrategy manufacturer= model= standby_power=0.00 unique_id=91454d5f43f44e7a9fdc07606b17aa27)
2023-03-02 21:19:25.507 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Wohnzimmer Stehlampe rechts energy
2023-03-02 21:19:25.507 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Wohnzimmer Stehlampe rechts energy yearly (entity_id=sensor.energie_wohnzimmer_stehlampe_rechts_energy_yearly)
2023-03-02 21:19:25.508 DEBUG (MainThread) [custom_components.powercalc.discovery] light.wohnzimmer_weihnachtsstern: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCE002))
2023-03-02 21:19:25.508 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.wohnzimmer_weihnachtsstern entity_category=None, sensor_name=Energie Wohnzimmer Weihnachtsstern power strategy=LutStrategy manufacturer=signify model=LCE002 standby_power=0.28 unique_id=da80c5b5eda24472a296a69ebd4cc06b)
2023-03-02 21:19:25.508 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Wohnzimmer Weihnachtsstern energy
2023-03-02 21:19:25.508 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Wohnzimmer Weihnachtsstern energy yearly (entity_id=sensor.energie_wohnzimmer_weihnachtsstern_energy_yearly)
2023-03-02 21:19:25.508 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.homemini_wohnzimmer: Auto discovered model (manufacturer=Google Inc., model=Google Home Mini)
2023-03-02 21:19:25.509 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=media_player.homemini_wohnzimmer entity_category=None, sensor_name=Energie Wohnzimmer Home Mini power strategy=LinearStrategy manufacturer=google model=Home Mini (HOA) standby_power=1.65 unique_id=13c4c8d775d74cd1b8872effdf71f5ad)
2023-03-02 21:19:25.509 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Wohnzimmer Home Mini energy
2023-03-02 21:19:25.509 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Wohnzimmer Home Mini energy yearly (entity_id=sensor.energie_wohnzimmer_home_mini_energy_yearly)
2023-03-02 21:19:25.509 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.wohnzimmer: Auto discovered model (manufacturer=Sonos, model=SYMFONISK Bookshelf)
2023-03-02 21:19:25.509 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=media_player.wohnzimmer entity_category=None, sensor_name=Energie Wohnzimmer Sonos power strategy=LinearStrategy manufacturer=sonos model=symfonisk bookshelf standby_power=2.56 unique_id=1b1ebad489254b45a77068feb510a096)
2023-03-02 21:19:25.509 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Wohnzimmer Sonos energy
2023-03-02 21:19:25.509 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Wohnzimmer Sonos energy yearly (entity_id=sensor.energie_wohnzimmer_sonos_energy_yearly)
2023-03-02 21:19:25.510 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Steckdose Wohnzimmer yearly (entity_id=sensor.steckdose_wohnzimmer_total_energy_yearly)
2023-03-02 21:19:25.510 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie Wohnzimmer power (entity_id=sensor.energie_wohnzimmer_power)
2023-03-02 21:19:25.510 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie Wohnzimmer energy (entity_id=sensor.energie_wohnzimmer_energy)
2023-03-02 21:19:25.511 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Wohnzimmer energy yearly (entity_id=sensor.energie_wohnzimmer_energy_yearly)
2023-03-02 21:19:25.512 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: Energie identifiziert power (entity_id=sensor.energie_identifiziert_power)
2023-03-02 21:19:25.513 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: Energie identifiziert energy (entity_id=sensor.energie_identifiziert_energy)
2023-03-02 21:19:25.513 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie identifiziert energy yearly (entity_id=sensor.energie_identifiziert_energy_yearly)
2023-03-02 21:19:25.514 DEBUG (MainThread) [custom_components.powercalc.discovery] light.buro_schreibtisch: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCT012))
2023-03-02 21:19:25.515 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.buro_schreibtisch entity_category=None, sensor_name=Energie Büro Schreibtischlampe power strategy=LutStrategy manufacturer=signify model=LCT012 standby_power=0.35 unique_id=5914b29c6fb04fc0b3f2ab3cd8d271ee)
2023-03-02 21:19:25.515 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Büro Schreibtischlampe energy
2023-03-02 21:19:25.515 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Büro Schreibtischlampe energy yearly (entity_id=sensor.energie_buro_schreibtischlampe_energy_yearly)
2023-03-02 21:19:25.515 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.buro: Auto discovered model (manufacturer=Sonos, model=Connect:Amp)
2023-03-02 21:19:25.515 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=media_player.buro entity_category=None, sensor_name=Energie Büro Sonos power strategy=FixedStrategy manufacturer= model= standby_power=0.00 unique_id=8bb04d1eee804b3598c0b1dfd1291a6d)
2023-03-02 21:19:25.516 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Energie Büro Sonos energy
2023-03-02 21:19:25.516 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Energie Büro Sonos energy yearly (entity_id=sensor.energie_buro_sonos_energy_yearly)
2023-03-02 21:19:26.547 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_bad_sonos_power to device cdd3810686e842ec8b841ad6c4e80b4e
2023-03-02 21:19:26.553 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_deckenlampe_power to device 2e481ef04c874b2687ac03e05b70bf5c
2023-03-02 21:19:26.558 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_nahtisch_deckenlampe_power to device 93e0f199f39b56a576d6ac8f267ba9dc
2023-03-02 21:19:26.561 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_nahtisch_wandlampe_power to device fef1e6626c227c50a6e1135e433f9f4b
2023-03-02 21:19:26.567 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_eingangstur_deckenlampe_power to device 7c6340bed16e405cac559e71163dcf87
2023-03-02 21:19:26.571 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_flur_deckenlampe_1_power to device 78fa855dd6cb2cdc7ea45ed8cba44d9e
2023-03-02 21:19:26.575 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_flur_deckenlampe_2_power to device 19c712f0e27c5550bef56b8300aebcdb
2023-03-02 21:19:26.580 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kinderzimmer_deckenlampe_power to device 93dfc10bb9944a75a8792ff26c1a4a49
2023-03-02 21:19:26.583 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kinderzimmer_tischleuchte_power to device 7ba945d1146642918ead01d6b074c9f6
2023-03-02 21:19:26.588 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_esstischlampe_power to device 858a6cc78add66eaf5e93359f0f06093
2023-03-02 21:19:26.591 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_herdlampe_power to device e3d02da19a9d24616cbb4faa37846ebf
2023-03-02 21:19:26.594 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_sonos_power to device b1e128888dad49989566430c28632dae
2023-03-02 21:19:26.599 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_deckenlampe_power to device 7a3fba579937b0a894eee8fdbe1b5039
2023-03-02 21:19:26.605 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_nachttischlampe_lisa_power to device 68be20f2fdb0416383fb70a86d96585f
2023-03-02 21:19:26.613 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_nachttischlampe_simon_power to device 26d63e42b6274852b05c85628e2d51df
2023-03-02 21:19:26.620 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_sonos_power to device 310cff65173942edb1a6352db8e97b52
2023-03-02 21:19:26.622 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_1_power to device 84be08fcc4bf4e59924cac5048a38a76
2023-03-02 21:19:26.625 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_2_power to device 4664017cbcd84ad5bd091716d98bae5f
2023-03-02 21:19:26.628 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_3_power to device 01412bdcaccd48768428df4e5bbdc7d4
2023-03-02 21:19:26.633 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_deckenlampe_power to device 96450220ae0c4e8461c92b257097f900
2023-03-02 21:19:26.635 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_lightstrip_power to device 1ee0a15294134c1e974d0f4c64a4d2bb
2023-03-02 21:19:26.640 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_stehlampe_rechts_power to device e2254b5e9302fd8b65622a6cf9f6ef9b
2023-03-02 21:19:26.643 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_weihnachtsstern_power to device 3912cd3f70265e8db72ffb15264bb6c5
2023-03-02 21:19:26.645 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_home_mini_power to device 444b8ec903c111eba02c8b84f1a8d403
2023-03-02 21:19:26.647 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_sonos_power to device a74b23182da4494999d0d36dba145f36
2023-03-02 21:19:26.650 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_schreibtischlampe_power to device a2cd61e0b42c46b794654f8f2295fd3c
2023-03-02 21:19:26.652 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_sonos_power to device acb5e916d3584906bdc8010561d39b1d
2023-03-02 21:19:26.919 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities
    tasks = [
TypeError: 'DeutscheBahnSensor' object is not iterable
2023-03-02 21:19:26.920 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities
    tasks = [
TypeError: 'DeutscheBahnSensor' object is not iterable
2023-03-02 21:19:27.174 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_bad_sonos_energy to device cdd3810686e842ec8b841ad6c4e80b4e
2023-03-02 21:19:27.175 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_bad_sonos_energy_yearly to device cdd3810686e842ec8b841ad6c4e80b4e
2023-03-02 21:19:27.183 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_deckenlampe_energy to device 2e481ef04c874b2687ac03e05b70bf5c
2023-03-02 21:19:27.184 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_deckenlampe_energy_yearly to device 2e481ef04c874b2687ac03e05b70bf5c
2023-03-02 21:19:27.189 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_nahtisch_deckenlampe_energy to device 93e0f199f39b56a576d6ac8f267ba9dc
2023-03-02 21:19:27.190 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_nahtisch_deckenlampe_energy_yearly to device 93e0f199f39b56a576d6ac8f267ba9dc
2023-03-02 21:19:27.194 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_nahtisch_wandlampe_energy to device fef1e6626c227c50a6e1135e433f9f4b
2023-03-02 21:19:27.195 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_nahtisch_wandlampe_energy_yearly to device fef1e6626c227c50a6e1135e433f9f4b
2023-03-02 21:19:27.199 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.shelly_1pm_buero_ecke_daily_energy_yearly to device e94f453c660a4c1b11ba958ced91caf1
2023-03-02 21:19:27.202 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.shelly_1pm_buero_tuer_daily_energy_yearly to device 6556d9cd22a1fb56586b447004016a4f
2023-03-02 21:19:27.213 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_eingangstur_deckenlampe_energy to device 7c6340bed16e405cac559e71163dcf87
2023-03-02 21:19:27.214 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_eingangstur_deckenlampe_energy_yearly to device 7c6340bed16e405cac559e71163dcf87
2023-03-02 21:19:27.225 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_flur_deckenlampe_1_energy to device 78fa855dd6cb2cdc7ea45ed8cba44d9e
2023-03-02 21:19:27.226 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_flur_deckenlampe_1_energy_yearly to device 78fa855dd6cb2cdc7ea45ed8cba44d9e
2023-03-02 21:19:27.231 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_flur_deckenlampe_2_energy to device 19c712f0e27c5550bef56b8300aebcdb
2023-03-02 21:19:27.232 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_flur_deckenlampe_2_energy_yearly to device 19c712f0e27c5550bef56b8300aebcdb
2023-03-02 21:19:27.239 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.steckdose_trockner_total_energy_yearly to device c8a9b868e61c40a092a2682e3aeee17a
2023-03-02 21:19:27.247 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.steckdose_waschmaschine_total_energy_yearly to device 239abccef4144e5197ef3e87c8865c19
2023-03-02 21:19:27.257 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kinderzimmer_deckenlampe_energy to device 93dfc10bb9944a75a8792ff26c1a4a49
2023-03-02 21:19:27.258 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kinderzimmer_deckenlampe_energy_yearly to device 93dfc10bb9944a75a8792ff26c1a4a49
2023-03-02 21:19:27.261 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kinderzimmer_tischleuchte_energy to device 7ba945d1146642918ead01d6b074c9f6
2023-03-02 21:19:27.262 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kinderzimmer_tischleuchte_energy_yearly to device 7ba945d1146642918ead01d6b074c9f6
2023-03-02 21:19:27.266 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.steckdose_ankleide_total_energy_yearly to device 1b9eb8ede8354a15b9c618ad639a9100
2023-03-02 21:19:27.274 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_esstischlampe_energy to device 858a6cc78add66eaf5e93359f0f06093
2023-03-02 21:19:27.276 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_esstischlampe_energy_yearly to device 858a6cc78add66eaf5e93359f0f06093
2023-03-02 21:19:27.279 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_herdlampe_energy to device e3d02da19a9d24616cbb4faa37846ebf
2023-03-02 21:19:27.280 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_herdlampe_energy_yearly to device e3d02da19a9d24616cbb4faa37846ebf
2023-03-02 21:19:27.284 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_sonos_energy to device b1e128888dad49989566430c28632dae
2023-03-02 21:19:27.284 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_kuche_sonos_energy_yearly to device b1e128888dad49989566430c28632dae
2023-03-02 21:19:27.288 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.steckdose_spulmaschine_total_energy_yearly to device 9629560c4227425fb2270003c842014e
2023-03-02 21:19:27.292 DEBUG (MainThread) [custom_components.powercalc.sensors.daily_energy] sensor.energie_kuhlschrank_energy: Restoring state: 156.1518
2023-03-02 21:19:27.299 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_deckenlampe_energy to device 7a3fba579937b0a894eee8fdbe1b5039
2023-03-02 21:19:27.300 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_deckenlampe_energy_yearly to device 7a3fba579937b0a894eee8fdbe1b5039
2023-03-02 21:19:27.303 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_nachttischlampe_lisa_energy to device 68be20f2fdb0416383fb70a86d96585f
2023-03-02 21:19:27.305 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_nachttischlampe_lisa_energy_yearly to device 68be20f2fdb0416383fb70a86d96585f
2023-03-02 21:19:27.308 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_nachttischlampe_simon_energy to device 26d63e42b6274852b05c85628e2d51df
2023-03-02 21:19:27.308 WARNING (MainThread) [homeassistant.components.integration.sensor] sensor.energie_schlafzimmer_nachttischlampe_simon_energy could not restore last state unknown: [<class 'decimal.ConversionSyntax'>]
2023-03-02 21:19:27.351 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_nachttischlampe_simon_energy_yearly to device 26d63e42b6274852b05c85628e2d51df
2023-03-02 21:19:27.355 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_sonos_energy to device 310cff65173942edb1a6352db8e97b52
2023-03-02 21:19:27.356 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_schlafzimmer_sonos_energy_yearly to device 310cff65173942edb1a6352db8e97b52
2023-03-02 21:19:27.363 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_1_energy to device 84be08fcc4bf4e59924cac5048a38a76
2023-03-02 21:19:27.364 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_1_energy_yearly to device 84be08fcc4bf4e59924cac5048a38a76
2023-03-02 21:19:27.368 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_2_energy to device 4664017cbcd84ad5bd091716d98bae5f
2023-03-02 21:19:27.369 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_2_energy_yearly to device 4664017cbcd84ad5bd091716d98bae5f
2023-03-02 21:19:27.372 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_3_energy to device 01412bdcaccd48768428df4e5bbdc7d4
2023-03-02 21:19:27.373 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_treppenhaus_wandlampe_3_energy_yearly to device 01412bdcaccd48768428df4e5bbdc7d4
2023-03-02 21:19:27.381 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_deckenlampe_energy to device 96450220ae0c4e8461c92b257097f900
2023-03-02 21:19:27.381 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_deckenlampe_energy_yearly to device 96450220ae0c4e8461c92b257097f900
2023-03-02 21:19:27.386 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_lightstrip_energy to device 1ee0a15294134c1e974d0f4c64a4d2bb
2023-03-02 21:19:27.387 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_lightstrip_energy_yearly to device 1ee0a15294134c1e974d0f4c64a4d2bb
2023-03-02 21:19:27.390 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_stehlampe_rechts_energy to device e2254b5e9302fd8b65622a6cf9f6ef9b
2023-03-02 21:19:27.391 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_stehlampe_rechts_energy_yearly to device e2254b5e9302fd8b65622a6cf9f6ef9b
2023-03-02 21:19:27.394 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_weihnachtsstern_energy to device 3912cd3f70265e8db72ffb15264bb6c5
2023-03-02 21:19:27.395 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_weihnachtsstern_energy_yearly to device 3912cd3f70265e8db72ffb15264bb6c5
2023-03-02 21:19:27.397 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_home_mini_energy to device 444b8ec903c111eba02c8b84f1a8d403
2023-03-02 21:19:27.398 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_home_mini_energy_yearly to device 444b8ec903c111eba02c8b84f1a8d403
2023-03-02 21:19:27.400 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_sonos_energy to device a74b23182da4494999d0d36dba145f36
2023-03-02 21:19:27.401 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_wohnzimmer_sonos_energy_yearly to device a74b23182da4494999d0d36dba145f36
2023-03-02 21:19:27.403 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.steckdose_wohnzimmer_total_energy_yearly to device 13822df3fdd2444f805ca95343b08047
2023-03-02 21:19:27.412 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_schreibtischlampe_energy to device a2cd61e0b42c46b794654f8f2295fd3c
2023-03-02 21:19:27.413 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_schreibtischlampe_energy_yearly to device a2cd61e0b42c46b794654f8f2295fd3c
2023-03-02 21:19:27.414 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_sonos_energy to device acb5e916d3584906bdc8010561d39b1d
2023-03-02 21:19:27.415 DEBUG (MainThread) [custom_components.powercalc.sensors.abstract] Binding sensor.energie_buro_sonos_energy_yearly to device acb5e916d3584906bdc8010561d39b1d
2023-03-02 21:19:27.591 WARNING (MainThread) [homeassistant.components.sensor] Sensor sensor.deckenlampe_bad_temperatur_offset_gefiltert has device class temperature, state class measurement and unit °C thus indicating it has a numeric value; however, it has the non-numeric value: unknown (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+filter%22
2023-03-02 21:19:27.986 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.homemini_wohnzimmer: Source entity has an invalid state, setting power sensor to unavailable
2023-03-02 21:19:28.172 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.homemini_wohnzimmer: Source entity has an invalid state, setting power sensor to unavailable
2023-03-02 21:19:28.226 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_stehlampe_rechts: Source entity has an invalid state, setting power sensor to unavailable
2023-03-02 21:19:28.227 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.kuche_esstisch: State changed to "on". Power:7.00
2023-03-02 21:19:28.227 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.kuche_herd: State changed to "off". Power:0.40
2023-03-02 21:19:28.404 WARNING (MainThread) [homeassistant.components.sensor] Sensor sensor.mi_a3_battery_state has device class battery, state class None and unit None thus indicating it has a numeric value; however, it has the non-numeric value: discharging (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mobile_app%22
2023-03-02 21:19:28.414 WARNING (MainThread) [homeassistant.components.sensor] Sensor sensor.ipad_von_simon_battery_state_2 has device class battery, state class None and unit None thus indicating it has a numeric value; however, it has the non-numeric value: Not Charging (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mobile_app%22
2023-03-02 21:19:28.462 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.homemini_wohnzimmer: State changed to "off". Power:1.65
2023-03-02 21:19:29.174 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.wohnzimmer: State changed to "paused". Power:2.56
2023-03-02 21:19:29.360 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.wohnzimmer: State changed to "paused". Power:2.56
2023-03-02 21:19:30.790 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.shelly_1pm_buero_tuer_daily_energy (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+esphome%22
2023-03-02 21:19:30.850 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.shelly_1pm_buero_ecke_daily_energy (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+esphome%22
2023-03-02 21:19:30.857 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.shelly_1pm_bad_deckenlampe_daily_energy (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+esphome%22
2023-03-02 21:19:30.861 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.shelly_1pm_bad_spiegellampe_daily_energy (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+esphome%22
2023-03-02 21:19:30.877 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.buro: State changed to "idle". Power:6.40
2023-03-02 21:19:31.013 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for balkonbewaesserung @ 192.168.178.104: Error connecting to ('192.168.178.104', 6053): [Errno 113] Connect call failed ('192.168.178.104', 6053)
2023-03-02 21:19:31.042 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.bad: State changed to "idle". Power:2.56
2023-03-02 21:19:31.148 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.kueche: State changed to "idle". Power:3.50
2023-03-02 21:19:31.503 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.schlafzimmer: State changed to "idle". Power:3.50
2023-03-02 21:19:32.502 WARNING (MainThread) [homeassistant.components.sonos] Automatic discovery is working, Sonos hosts in configuration.yaml are not needed
2023-03-02 21:19:36.324 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.bad: State changed to "idle". Power:2.56
2023-03-02 21:19:36.324 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.buro_deckenleuchte: State changed to "off". Power:0.47
2023-03-02 21:19:36.324 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.nahtisch_decke: State changed to "off". Power:0.28
2023-03-02 21:19:36.325 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.nahtisch_wand: State changed to "off". Power:0.28
2023-03-02 21:19:36.325 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.eingangstur_decke: State changed to "off". Power:0.40
2023-03-02 21:19:36.325 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.flur_deckenleuchte_1: Looking up power usage for bri:255 mired:366
2023-03-02 21:19:36.325 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.flur_deckenleuchte_1: Calculated power:7.980000000000000426325641456060111522674560546875
2023-03-02 21:19:36.325 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.flur_deckenleuchte_1: State changed to "on". Power:7.98
2023-03-02 21:19:36.326 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.flur_deckenleuchte_2: Looking up power usage for bri:255 mired:366
2023-03-02 21:19:36.326 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.flur_deckenleuchte_2: Calculated power:7.980000000000000426325641456060111522674560546875
2023-03-02 21:19:36.326 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.flur_deckenleuchte_2: State changed to "on". Power:7.98
2023-03-02 21:19:36.326 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.kinderzimmer_deckenlampe: State changed to "off". Power:0.33
2023-03-02 21:19:36.327 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.kinderzimmer_tischleuchte: State changed to "off". Power:0.35
2023-03-02 21:19:36.327 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.kuche_esstisch: State changed to "on". Power:7.00
2023-03-02 21:19:36.327 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.kuche_herd: State changed to "off". Power:0.40
2023-03-02 21:19:36.327 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.kueche: State changed to "idle". Power:3.50
2023-03-02 21:19:36.328 DEBUG (MainThread) [custom_components.powercalc.sensors.power] sensor.dummy: State changed to "on". Power:78.00
2023-03-02 21:19:36.328 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.schlafzimmer_deckenlampe: Source entity has an invalid state, setting power sensor to unavailable
2023-03-02 21:19:36.329 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.schlafzimmer_nachttisch_lisa: State changed to "off". Power:0.35
2023-03-02 21:19:36.329 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.schlafzimmer_nachttisch_simon: Source entity has an invalid state, setting power sensor to unavailable
2023-03-02 21:19:36.330 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.schlafzimmer: State changed to "idle". Power:3.50
2023-03-02 21:19:36.330 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wandlampe_1: Looking up power usage for bri:255 mired:399
2023-03-02 21:19:36.330 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wandlampe_1: Calculated power:5.44000000000000039079850466805510222911834716796875
2023-03-02 21:19:36.330 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wandlampe_1: State changed to "on". Power:5.44
2023-03-02 21:19:36.331 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wandlampe_2: Looking up power usage for bri:255 mired:399
2023-03-02 21:19:36.331 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wandlampe_2: Calculated power:5.44000000000000039079850466805510222911834716796875
2023-03-02 21:19:36.331 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wandlampe_2: State changed to "on". Power:5.44
2023-03-02 21:19:36.331 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wandlampe_3: Looking up power usage for bri:255 mired:399
2023-03-02 21:19:36.331 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wandlampe_3: Calculated power:5.44000000000000039079850466805510222911834716796875
2023-03-02 21:19:36.331 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wandlampe_3: State changed to "on". Power:5.44
2023-03-02 21:19:36.332 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Looking up power usage for bri:255 mired:366
2023-03-02 21:19:36.332 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Calculated power:7.17999999999999971578290569595992565155029296875
2023-03-02 21:19:36.332 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_deckenleuchte: State changed to "on". Power:7.18
2023-03-02 21:19:36.332 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_lightstrip: State changed to "off". Power:0.18
2023-03-02 21:19:36.333 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_stehlampe_rechts: Source entity has an invalid state, setting power sensor to unavailable
2023-03-02 21:19:36.333 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_weihnachtsstern: State changed to "off". Power:0.28
2023-03-02 21:19:36.335 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.homemini_wohnzimmer: State changed to "off". Power:1.65
2023-03-02 21:19:36.337 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.wohnzimmer: State changed to "paused". Power:2.56
2023-03-02 21:19:36.337 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.buro_schreibtisch: State changed to "off". Power:0.35
2023-03-02 21:19:36.337 DEBUG (MainThread) [custom_components.powercalc.sensors.power] media_player.buro: State changed to "idle". Power:6.40
2023-03-02 21:19:36.339 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.viessman_gasverbrauch_m3 (<class 'homeassistant.components.template.sensor.SensorTemplate'>) is using native unit of measurement 'm³' which is not a valid unit for the device class ('energy') it is using; expected one of ['GJ', 'MJ', 'MWh', 'Wh', 'kWh']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22
2023-03-02 21:19:36.518 DEBUG (MainThread) [custom_components.powercalc] Setting up domain based group sensors..
2023-03-02 21:19:36.941 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: All light power (entity_id=sensor.all_light_power)
2023-03-02 21:19:36.942 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: All light energy (entity_id=sensor.all_light_energy)
2023-03-02 21:19:36.942 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: All light energy yearly (entity_id=sensor.all_light_energy_yearly)
2023-03-02 21:19:36.943 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: All media_player power (entity_id=sensor.all_media_player_power)
2023-03-02 21:19:36.943 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: All media_player energy (entity_id=sensor.all_media_player_energy)
2023-03-02 21:19:36.944 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: All media_player energy yearly (entity_id=sensor.all_media_player_energy_yearly)
2023-03-02 21:19:44.699 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x288C:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>'), DeliveryError('Failed to deliver packet: <TXStatus.NWK_ROUTE_DISCOVERY_FAILED: 208>')]
2023-03-02 21:19:46.701 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Looking up power usage for bri:255 mired:400
2023-03-02 21:19:46.701 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Calculated power:6.339999999999999857891452847979962825775146484375
2023-03-02 21:19:46.701 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_deckenleuchte: State changed to "on". Power:6.34
2023-03-02 21:20:12.091 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Looking up power usage for bri:255 mired:380
2023-03-02 21:20:12.091 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Calculated power:6.730000000000000426325641456060111522674560546875
2023-03-02 21:20:12.092 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_deckenleuchte: State changed to "on". Power:6.73
2023-03-02 21:20:38.118 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Looking up power usage for bri:255 mired:393
2023-03-02 21:20:38.118 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Calculated power:6.54999999999999982236431605997495353221893310546875
2023-03-02 21:20:38.118 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_deckenleuchte: State changed to "on". Power:6.55
2023-03-02 21:21:40.286 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Looking up power usage for bri:255 mired:400
2023-03-02 21:21:40.286 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.wohnzimmer_deckenleuchte: Calculated power:6.339999999999999857891452847979962825775146484375
2023-03-02 21:21:40.286 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.wohnzimmer_deckenleuchte: State changed to "on". Power:6.34
2023-03-02 21:23:59.287 WARNING (SyncWorker_4) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.178.3:8005 unable to fetch data (401)

Diagnostics dump or YAML config

  - platform: "powercalc"
    create_group: "Energie identifiziert"
    entities:
      - create_group: "Energie Bad"
        entities:
          - name: "Energie Bad Spiegellampe"
            unique_id: "191f968a0392414398c491b4c77d8ebe"
            entity_id: "light.shelly_badspiegel"
            power_sensor_id: "sensor.shelly_1pm_bad_spiegellampe_power"
          - name: "Energie Bad Deckenlampe"
            unique_id: "2b79443fc1314c12bc50cfb23c6739c3"
            entity_id: "light.shelly_deckenlampe_bad"
            power_sensor_id: "sensor.shelly_1pm_bad_deckenlampe_power"
          - name: "Energie Bad Sonos"
            unique_id: "8f25c2ca62af4a7ebe53343ea55eedde"
            entity_id: "media_player.bad"
      - create_group: "Energie Büro & Nähzimmer"
        entities:
          - name: "Energie Büro Deckenlampe"
            unique_id: "4466714e59a64e66a254816003497341"
            entity_id: "light.buro_deckenleuchte"
          - name: "Energie Nähtisch Deckenlampe"
            unique_id: "e7326597a98a433ba995bb9b0c71e5c7"
            entity_id: "light.nahtisch_decke"
          - name: "Energie Nähtisch Wandlampe"
            unique_id: "aade0a460235472ab3716e1e3ce18b0c"
            entity_id: "light.nahtisch_wand"
          - name: "Energie Steckdose Büro Ecke"
            unique_id: "5d867c6661f7420dab97e6ddfcb1efd2"
            entity_id: "switch.shelly_1pm_buero_ecke"
            power_sensor_id: "sensor.shelly_1pm_buero_ecke_power"
          - name: "Energie Steckdose Büro Tür"
            unique_id: "b6565ac585ff4b14b1b6f34a867586ae"
            entity_id: "switch.shelly_1pm_buero_tuer"
            power_sensor_id: "sensor.shelly_1pm_buero_tuer_power"
      - create_group: "Energie Eingangstür"
        entities:
          - name: "Energie Eingangstür Deckenlampe"
            entity_id: "light.eingangstur_decke"
      - create_group: "Energie Flur"
        entities:
          - name: "Energie Flur Deckenlampe 1"
            unique_id: "cc98826d3217450a8cd34d58a3facd02"
            entity_id: "light.flur_deckenleuchte_1"
          - name: "Energie Flur Deckenlampe 2"
            unique_id: "f8f571d6bb3c45f2ba12f469f1e774f3"
            entity_id: "light.flur_deckenleuchte_2"
      - create_group: "Energie Keller"
        entities:
          - name: "Energie Trockner"
            unique_id: "fd48663165f94097bee4de889f69a639"
            entity_id: "switch.steckdose_trockner"
            power_sensor_id: "sensor.steckdose_trockner_power_consumption"
            energy_sensor_id: "sensor.steckdose_trockner_total_energy"
          - name: "Energie Waschmaschine"
            unique_id: "c07aa5d2a98a4218915fb98a17c6d26f"
            entity_id: "switch.steckdose_waschmaschine"
            power_sensor_id: "sensor.steckdose_waschmaschine_power_consumption"
            energy_sensor_id: "sensor.steckdose_waschmaschine_total_energy"
      - create_group: "Energie Kinderzimmer"
        entities:
          - name: "Energie Kinderzimmer Deckenlampe"
            unique_id: "023ed109d0644d138db7e2f5b31b7108"
            entity_id: "light.kinderzimmer_deckenlampe"
          - name: "Energie Kinderzimmer Tischleuchte"
            unique_id: "b6ea9ceb63f84dcc90d757aad3e33f6f"
            entity_id: "light.kinderzimmer_tischleuchte"
          - name: "Energie Steckdose Kinderzimmer"
            unique_id: "f842674e25d447f5aa203cd5d3626d70"
            entity_id: "switch.steckdose_ankleide"
            power_sensor_id: "sensor.steckdose_ankleide_power_consumption"
            energy_sensor_id: "sensor.steckdose_ankleide_total_energy"
      - create_group: "Energie Küche"
        entities:
          - name: "Energie Küche Esstischlampe"
            unique_id: "b2eb38585e744c06a4f0fb29ab7359cf"
            entity_id: "light.kuche_esstisch"
            fixed:
              power: 7
          - name: "Energie Küche Herdlampe"
            unique_id: "f540144330c9467498b5bc9eb1bca75f"
            entity_id: "light.kuche_herd"
            manufacturer: "ikea"
            model: "LED1545G12"
          - name: "Energie Küche Sonos"
            unique_id: "dc7343d9dd6a4a07a4a4a3171eece2b3"
            entity_id: "media_player.kueche"
            fixed:
              # Sonos Play:1 https://support.sonos.com/s/article/256?language=en_US
              power: 3.5
              states_power:
                playing: 4.2
          - name: "Energie Spülmaschine"
            unique_id: "b2c9212755254c3db7a5aac42d716f47"
            entity_id: "switch.steckdose_spulmaschine"
            power_sensor_id: "sensor.steckdose_spulmaschine_power_consumption"
            energy_sensor_id: "sensor.steckdose_spulmaschine_total_energy"
          - name: "Energie Kühlschrank"
            unique_id: "fd98af4a00464c68ad33b115a2b23ee2"
            daily_fixed_energy:
              value: 78
              unit_of_measurement: "W"
              on_time: 24:00:00
      - create_group: "Energie Schlafzimmer"
        entities:
          - name: "Energie Schlafzimmer Deckenlampe"
            unique_id: "03b299b7586b4f158f64e990dadcfb06"
            entity_id: "light.schlafzimmer_deckenlampe"
          - name: "Energie Schlafzimmer Nachttischlampe Lisa"
            unique_id: "252bbf2a47c04ed0abb7732d8f5c6335"
            entity_id: "light.schlafzimmer_nachttisch_lisa"
          - name: "Energie Schlafzimmer Nachttischlampe Simon"
            unique_id: "814be6de96ee49139517988f37666594"
            entity_id: "light.schlafzimmer_nachttisch_simon"
          - name: "Energie Schlafzimmer Sonos"
            unique_id: "15dac3954bd04cd1bd2fef7fc3056902"
            entity_id: "media_player.schlafzimmer"
            fixed:
              # Sonos Play:1 https://support.sonos.com/s/article/256?language=en_US
              power: 3.5
              states_power:
                playing: 4.2
      - create_group: "Energie Treppenhaus"
        entities:
          - name: "Energie Treppenhaus Wandlampe 1"
            unique_id: "456fe260a001442094e3f72fa816ef8e"
            entity_id: "light.wandlampe_1"
          - name: "Energie Treppenhaus Wandlampe 2"
            unique_id: "8ad0d70bf64e44a0ad8a747ab8b3947f"
            entity_id: "light.wandlampe_2"
          - name: "Energie Treppenhaus Wandlampe 3"
            unique_id: "148c33be34c14791aaa0290ee2f0d663"
            entity_id: "light.wandlampe_3"
      - create_group: "Energie Wohnzimmer"
        entities:
          - name: "Energie Wohnzimmer Deckenlampe"
            unique_id: "7d4d98f1044b41058aed726cfe48aaef"
            entity_id: "light.wohnzimmer_deckenleuchte"
          - name: "Energie Wohnzimmer Lightstrip"
            unique_id: "9ac3319f40324ac586195c03bd3665c0"
            entity_id: "light.wohnzimmer_lightstrip"
          - name: "Energie Wohnzimmer Stehlampe rechts"
            unique_id: "91454d5f43f44e7a9fdc07606b17aa27"
            entity_id: "light.wohnzimmer_stehlampe_rechts"
            fixed:
              power: 7
          - name: "Energie Wohnzimmer Weihnachtsstern"
            unique_id: "da80c5b5eda24472a296a69ebd4cc06b"
            entity_id: "light.wohnzimmer_weihnachtsstern"
          - name: "Energie Wohnzimmer Home Mini"
            unique_id: "13c4c8d775d74cd1b8872effdf71f5ad"
            entity_id: "media_player.homemini_wohnzimmer"
          - name: "Energie Wohnzimmer Sonos"
            unique_id: "1b1ebad489254b45a77068feb510a096"
            entity_id: "media_player.wohnzimmer"
            multiply_factor: 2
          - name: "Energie Steckdose Wohnzimmer"
            unique_id: "099f15e849f5415e880416fd9692e1a6"
            entity_id: "switch.steckdose_wohnzimmer"
            power_sensor_id: "sensor.steckdose_wohnzimmer_power_consumption"
            energy_sensor_id: "sensor.steckdose_wohnzimmer_total_energy"
bramstroker commented 1 year ago

The group energy sensor is a sensor which needs to be always increasing in value. So the individual entities must also be total sensors, not daily total. I think the issue might be that when you use power_sensor_id option powercalc tries to find a matching kWh sensor on the same device. So for sensor.shelly_1pm_buero_tuer_power it probably found the daily energy sensor provided by the ESPHome device. There is no option yet to force powercalc to create an energy sensor. To fix the issue I suggest to also use the energy_sensor_id option to select the correct energy sensor. When there is no totaling sensor yet, you can create one using the riemann integral helper and than select that one using the energy_sensor_id option. Hope this helps.

bramstroker commented 1 year ago

Btw I also found my suspicion in the logs:

2023-03-02 21:19:25.109 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Found existing energy sensor 'sensor.shelly_1pm_buero_tuer_daily_energy' for the power sensor 'sensor.shelly_1pm_buero_tuer_power'
CM000n commented 1 year ago

Thank you for the feedback. That makes sense, unfortunately there really is no total increasing energy sensor for these entities at the moment. I will therefore try the Riemann integral for the time being.

However, it would be good to point out in the documentation that powercalc sensors based on existing power meters implicitly will use existing energy sensors of them, which can cause problems if they are not totally increasing (or did I just overread it?).

As a future feature, it would be cool to be able to ignore existing energy sensors in such a case and force creation by powercalc based on wattage.

bramstroker commented 1 year ago

It's in this section in the readme. https://homeassistant-powercalc.readthedocs.io/en/latest/group.html#adding-non-powercalc-sensors. See the note.

I will consider adding an option to force creation of a new riemann integral sensor.