bramstroker / homeassistant-powercalc

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

nested groups with include area not working #822

Closed gribber closed 2 years ago

gribber commented 2 years ago

There seems to be a problem with creating nested groups using include area, the following does not create any sensors what so ever:

- platform: powercalc
  create_group: outdoor lights
  entities:
    - create_group: outdoor parking driveway
      include:
        area: parkering_och_uppfart
    - create_group: outdoor ambience
      include:
        area: dekoration_ute

while this does:

- platform: powercalc
  entities:
    - entity_id: light.parking_1

light.parking_1 is in the 'parkering_and_uppfart' area, as well as a few other lights of the same model

root@homeassistant:~# hass-cli device list| egrep 'AREA|parkering_och_uppfart'
ID                                NAME                            MODEL                            MANUFACTURER                      AREA
362c7465816d778def1a513c35a884af  parking_1                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
8ce5a9bef647894ce65fa27f0f3e46f3  parking_2                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
363bcd189cef3277ff236426aa20e86b  parking_3                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
root@homeassistant:~#

List of entities:

root@homeassistant:~# hass-cli entity list | egrep "ENTITY_ID|(light|sensor).parking_"
ENTITY_ID                                           NAME                                        DEVICE_ID                         PLATFORM             CONFIG_ENTRY_ID                   DISABLED_BY
light.parking_1                                     None                                        362c7465816d778def1a513c35a884af  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.parking_2                                     None                                        8ce5a9bef647894ce65fa27f0f3e46f3  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.parking_3                                     None                                        363bcd189cef3277ff236426aa20e86b  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
sensor.parking_1_power                              None                                        362c7465816d778def1a513c35a884af  powercalc            None                              None
sensor.parking_1_energy                             None                                        362c7465816d778def1a513c35a884af  powercalc            None                              None
root@homeassistant:~#
bramstroker commented 2 years ago

Did you never had it working or did it break in newer version of powercalc? You could enable debug logging which should hopefully give some clues.

gribber commented 2 years ago

Did you never had it working or did it break in newer version of powercalc? You could enable debug logging which should hopefully give some clues.

Never worked, fresh install as of today

only thing in the log is:

2022-07-01 15:03:26 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: parkering_och_uppfart
2022-07-01 15:03:26 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: dekoration_ute
2022-07-01 15:03:26 ERROR (MainThread) [custom_components.powercalc.sensor] Could not resolve any entities in group 'outdoor ambience'
2022-07-01 15:03:26 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: uterum
2022-07-01 15:03:26 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: kitchen
2022-07-01 15:03:26 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: allrum
2022-07-01 15:03:26 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: badrum_nere
2022-07-01 15:03:26 ERROR (MainThread) [custom_components.powercalc.sensor] Could not resolve any entities in group 'bathroom'

the two areas with missing with no resolvable lights only has bulbs without LUT files

went ahead and added a few more lights, some of the light entities are actually created there but still no group entities

I see no reason why only a few of the later got added, same brand/model as the ones above, some of other types

List of all configured lights (with area) and the few sensors created for some of them by powercalc

root@homeassistant:~# hass-cli entity list | egrep "^light.+deconz|^sensor.+powercalc"
light.floor_lamp                                    Golvlampan                                  4cec3291a67d826de4800c924cdb8663  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.rice_lamp                                     Rislampa                                    c0445236ae06bd408ee790b56a3aa2dc  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.conservatory_1                                None                                        b037a1259f7832b324dcb58978046e0f  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.conservatory_2                                None                                        0047e7c86303a4920ad9b5a29ffdc662  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.conservatory_3                                None                                        e6ffafe78d8bb7a0c0eda22670ee64a1  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.driveway_1                                    None                                        a1555fdc50b8068856d8437a021ea025  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.entre_1                                       None                                        e1a28cf3f4a1d355feba3a63e9df0177  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.entre_2                                       None                                        4fb98986bc24f93e3c242a2904a038fb  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.garage_front                                  Framsida garage                             a5889c2b969e3e2dfadc9d1fdf102f75  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.garage_side                                   Garagesida                                  2fb81b2ae779d88171d6a69003104d23  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.greenhouse_1                                  Växthus utanför                             a16f1984900c5e95bff3b84357efe816  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.parking_1                                     None                                        362c7465816d778def1a513c35a884af  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.parking_2                                     None                                        8ce5a9bef647894ce65fa27f0f3e46f3  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.parking_3                                     None                                        363bcd189cef3277ff236426aa20e86b  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.wall_1                                        None                                        984c1e3cd3709c2ae3172130ca07b196  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.wall_2                                        None                                        c073af9d2a3272749b3a8705392b7c2c  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.wall_3                                        None                                        676555ecb8abb564136ea52eb4e23acd  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.wall_4                                        None                                        c64e47dd9ceeef626902f3544f21c758  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.wall_5                                        None                                        c187da9e024c270e345040e2566c34ba  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.wall_6                                        None                                        ba80765377b05331cfdf177a9b2919be  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.wall_7                                        None                                        d08e18db175ad611b7350c0a1833a3ae  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.kitchen_lamp                                  None                                        0533cf8dd09a0047f587a1b475ebe6e7  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.earth_cellar                                  Jordkällare                                 cbf28383e12778d3cf2f18d35ec76568  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.bedroom_ceiling                               Taklampan                                   3bdda0bb7356acbeaf37c5809f5d0345  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.hallway_upstairs_wall                         Vägglampa                                   b56f6abe86695c33637bfca3d3ff13c6  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.innelampor                                    None                                        7027546bc3276db7187aa97c34468461  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.mushroom_lamp                                 Svamplampa                                  0ce9655241f1ad09074b63d157f9f9cd  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.bedroom_left                                  Vänster sänglampa                           60094d054dd2ba2fce86be214f6cb844  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.bedroom_right                                 Höger sänglampa                             7da0e6c0c796fd07e68cbba54cd06654  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.livingroom_window_1                           Fönsterlampa norr                           de733d7b7bd134f8bb0989d124b0e0b1  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.family_room_window_1                          Fönsterlampa                                fce506a1aa06423f5d04fb3ee8b9d03c  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.kitchen_window_1                              None                                        59290164c6c1a513db030f965ece2e58  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.hallway_upstairs_window                       None                                        793d903cf3d0815251b64a2c834ed62a  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.color_temperature_light_40                    None                                        9e82d9646a2d6d6e77e5ac83e7981a70  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.hallway_downstairs_bench                      hallway_downstairs_bench                    57b02234660c1b1672c86a67215b7226  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.bathroom_downstairs_mirror                    None                                        33b91b3dcf73ff9841f9e84921aecfc5  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.conservatory_ceiling                          Taklampa                                    1b98c8227a27d51076b9a4a3e48a9d37  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.bedroom_window                                Fönsterlampan                               ae2e9353d573de5ecfd98483303e45da  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.office_led_strip                              Bänkbelysning                               7568d12cbff7c3f283c77b8b06df5eeb  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.dimmable_light_46                             None                                        6bc1e657e4471cf4439b456416269f8a  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
light.greenhouse_strip                              Växthus tak                                 9c8febef51fcaaf33cf6b431045cca04  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
sensor.floor_lamp_power                             None                                        4cec3291a67d826de4800c924cdb8663  powercalc            None                              None
sensor.floor_lamp_energy                            None                                        4cec3291a67d826de4800c924cdb8663  powercalc            None                              None
sensor.kitchen_lamp_power                           None                                        0533cf8dd09a0047f587a1b475ebe6e7  powercalc            None                              None
sensor.kitchen_lamp_energy                          None                                        0533cf8dd09a0047f587a1b475ebe6e7  powercalc            None                              None
sensor.bedroom_ceiling_power                        None                                        3bdda0bb7356acbeaf37c5809f5d0345  powercalc            None                              None
sensor.bedroom_ceiling_energy                       None                                        3bdda0bb7356acbeaf37c5809f5d0345  powercalc            None                              None
sensor.hallway_upstairs_wall_power                  None                                        b56f6abe86695c33637bfca3d3ff13c6  powercalc            None                              None
sensor.hallway_upstairs_wall_energy                 None                                        b56f6abe86695c33637bfca3d3ff13c6  powercalc            None                              None
sensor.mushroom_lamp_power                          None                                        0ce9655241f1ad09074b63d157f9f9cd  powercalc            None                              None
sensor.mushroom_lamp_energy                         None                                        0ce9655241f1ad09074b63d157f9f9cd  powercalc            None                              None
sensor.bedroom_left_power                           None                                        60094d054dd2ba2fce86be214f6cb844  powercalc            None                              None
sensor.bedroom_left_energy                          None                                        60094d054dd2ba2fce86be214f6cb844  powercalc            None                              None
sensor.bedroom_right_power                          None                                        7da0e6c0c796fd07e68cbba54cd06654  powercalc            None                              None
sensor.bedroom_right_energy                         None                                        7da0e6c0c796fd07e68cbba54cd06654  powercalc            None                              None
sensor.livingroom_window_1_power                    None                                        de733d7b7bd134f8bb0989d124b0e0b1  powercalc            None                              None
sensor.livingroom_window_1_energy                   None                                        de733d7b7bd134f8bb0989d124b0e0b1  powercalc            None                              None
sensor.family_room_window_1_power                   None                                        fce506a1aa06423f5d04fb3ee8b9d03c  powercalc            None                              None
sensor.family_room_window_1_energy                  None                                        fce506a1aa06423f5d04fb3ee8b9d03c  powercalc            None                              None
sensor.color_temperature_light_40_power             None                                        9e82d9646a2d6d6e77e5ac83e7981a70  powercalc            None                              None
sensor.color_temperature_light_40_energy            None                                        9e82d9646a2d6d6e77e5ac83e7981a70  powercalc            None                              None
sensor.hallway_downstairs_bench_power               None                                        57b02234660c1b1672c86a67215b7226  powercalc            None                              None
sensor.hallway_downstairs_bench_energy              None                                        57b02234660c1b1672c86a67215b7226  powercalc            None                              None
sensor.conservatory_ceiling_power                   None                                        1b98c8227a27d51076b9a4a3e48a9d37  powercalc            None                              None
sensor.conservatory_ceiling_energy                  None                                        1b98c8227a27d51076b9a4a3e48a9d37  powercalc            None                              None
sensor.dimmable_light_46_power                      None                                        6bc1e657e4471cf4439b456416269f8a  powercalc            None                              None
sensor.dimmable_light_46_energy                     None                                        6bc1e657e4471cf4439b456416269f8a  powercalc            None                              None
sensor.parking_1_power                              None                                        362c7465816d778def1a513c35a884af  powercalc            None                              None
sensor.parking_1_energy                             None                                        362c7465816d778def1a513c35a884af  powercalc            None                              None
root@homeassistant:~#

my configuration can be found here: https://github.com/gribber/ha/blob/main/sensors/powercalc.yaml

bramstroker commented 2 years ago

When you only see the line Including entities from area not followed by several lines regarding the creation of entities it means the lights in that area are not supported by powercalc for the LUT mode, or the correct manufacturer/model information can not be extracted from the device information somehow.

You should at least see something like this:

2022-07-01 16:18:25 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: Badkamer
2022-07-01 16:18:25 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.badkamer: Auto discovered model (manufacturer=Signify Netherlands B.V., model=3418931P6)

You can check the known device info from /config/.storage/core.device_registry. You should also be able to find this device info in HA gui "Settings -> Devices & Entities -> Devices"

Please have a look into this and see if the actual manufacturer and model are in the supported models list.

gribber commented 2 years ago

You can check the known device info from /config/.storage/core.device_registry. You should also be able to find this device info in HA gui "Settings -> Devices & Entities -> Devices"

Please have a look into this and see if the actual manufacturer and model are in the supported models list.

Should be supported, all but 'TRADFRIbulbE27WWclear250lm'

root@homeassistant:~# hass-cli device list| egrep "TRADFRI|OSRAM|AREA"
ID                                NAME                            MODEL                            MANUFACTURER                      AREA
4cec3291a67d826de4800c924cdb8663  floor_lamp                      TRADFRI bulb E27 WS opal 1000lm  IKEA of Sweden                    allrum
c0445236ae06bd408ee790b56a3aa2dc  rice_lamp                       TRADFRI bulb E14 WS 470lm        IKEA of Sweden                    uterum
a1555fdc50b8068856d8437a021ea025  driveway_1                      TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
a5889c2b969e3e2dfadc9d1fdf102f75  garage_front                    TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
2fb81b2ae779d88171d6a69003104d23  garage_side                     TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
e1a28cf3f4a1d355feba3a63e9df0177  entre_1                         TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
4fb98986bc24f93e3c242a2904a038fb  entre_2                         TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
b037a1259f7832b324dcb58978046e0f  conservatory_1                  TRADFRIbulbGU10WS345lm           IKEA of Sweden                    dekoration_ute
0047e7c86303a4920ad9b5a29ffdc662  conservatory_2                  TRADFRIbulbGU10WS345lm           IKEA of Sweden                    dekoration_ute
e6ffafe78d8bb7a0c0eda22670ee64a1  conservatory_3                  TRADFRIbulbGU10WS345lm           IKEA of Sweden                    dekoration_ute
362c7465816d778def1a513c35a884af  parking_1                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
8ce5a9bef647894ce65fa27f0f3e46f3  parking_2                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
363bcd189cef3277ff236426aa20e86b  parking_3                       TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
984c1e3cd3709c2ae3172130ca07b196  wall_1                          TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    dekoration_ute
c073af9d2a3272749b3a8705392b7c2c  wall_2                          TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    dekoration_ute
676555ecb8abb564136ea52eb4e23acd  wall_3                          TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    dekoration_ute
c64e47dd9ceeef626902f3544f21c758  wall_4                          TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    dekoration_ute
c187da9e024c270e345040e2566c34ba  wall_5                          TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    dekoration_ute
ba80765377b05331cfdf177a9b2919be  wall_6                          TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    dekoration_ute
d08e18db175ad611b7350c0a1833a3ae  wall_7                          TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    dekoration_ute
a16f1984900c5e95bff3b84357efe816  greenhouse_1                    TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    dekoration_ute
0533cf8dd09a0047f587a1b475ebe6e7  kitchen_lamp                    TRADFRI bulb E27 WW clear 250lm  IKEA of Sweden                    kitchen
cbf28383e12778d3cf2f18d35ec76568  earth_cellar                    TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    parkering_och_uppfart
0ce9655241f1ad09074b63d157f9f9cd  mushroom_lamp                   TRADFRI bulb E14 W op/ch 400lm   IKEA of Sweden                    uterum
05ea61cefcec18010559fc999cb47fdb  range_extender_mailbox          TRADFRI Signal Repeater          IKEA of Sweden                    None
3bdda0bb7356acbeaf37c5809f5d0345  bedroom_ceiling                 TRADFRI bulb E27 W opal 1000lm   IKEA of Sweden                    bedroom
b56f6abe86695c33637bfca3d3ff13c6  hallway_upstairs_wall           TRADFRI bulb E14 W op/ch 400lm   IKEA of Sweden                    hall_uppe
18d42afcd250a3ed159b10826e308dae  TRADFRI on/off switch           TRADFRI on/off switch            IKEA of Sweden                    None
60094d054dd2ba2fce86be214f6cb844  bedroom_left                    TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    bedroom
7da0e6c0c796fd07e68cbba54cd06654  bedroom_right                   TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    bedroom
57b02234660c1b1672c86a67215b7226  hallway_downstairs_bench        TRADFRI bulb E27 CWS opal 600lm  IKEA of Sweden                    hallen
a02e3331edabc94e5f70959c50cea367  TRÅDFRI remote control          TRADFRI remote control           IKEA of Sweden                    None
fce506a1aa06423f5d04fb3ee8b9d03c  family_room_window_1            TRADFRIbulbE14WScandleopal470lm  IKEA of Sweden                    allrum
de733d7b7bd134f8bb0989d124b0e0b1  livingroom_window_1             TRADFRIbulbE14WScandleopal470lm  IKEA of Sweden                    living_room
59290164c6c1a513db030f965ece2e58  kitchen_window_1                TRADFRIbulbE14WWclear250lm       IKEA of Sweden                    kitchen
793d903cf3d0815251b64a2c834ed62a  hallway_upstairs_window         TRADFRIbulbE14WWclear250lm       IKEA of Sweden                    hall_uppe
9e82d9646a2d6d6e77e5ac83e7981a70  Color temperature light 40      TRADFRIbulbE14WScandleopal470lm  IKEA of Sweden                    None
1b98c8227a27d51076b9a4a3e48a9d37  conservatory_ceiling            TRADFRIbulbE27WSglobeopal1055lm  IKEA of Sweden                    uterum
ae2e9353d573de5ecfd98483303e45da  bedroom_window                  TRADFRIbulbE27WWclear250lm       IKEA of Sweden                    bedroom
6bc1e657e4471cf4439b456416269f8a  Dimmable light 46               TRADFRI bulb E14 W op/ch 400lm   IKEA of Sweden                    garage
9c8febef51fcaaf33cf6b431045cca04  greenhouse_strip                LIGHTIFY Outdoor Flex RGBW       OSRAM                             dekoration_ute
root@homeassistant:~#

For example, parking_1-3 and bedroom_left/right is the same model bedroom_left and bedroom_right has sensors created parking_2 and parking_3 has nothing parking_1 had sensors created after I added it with:

- platform: powercalc
  entities:
    - entity_id: light.parking_1

Same brand, same model

bramstroker commented 2 years ago

I see, didn't know about the CLI tool. that one is quite handy.

Could you add following line: _LOGGER.debug("Found include entities: %s", entities)

On this location https://github.com/bramstroker/homeassistant-powercalc/blob/master/custom_components/powercalc/sensor.py#L334.

So it looks like this:

entities = resolve_include_entities(hass, config.get(CONF_INCLUDE))
_LOGGER.debug("Found include entities: %s", entities)
sensor_configs = {

Then restart, hopefully this will gives some clues about what goes wrong.

gribber commented 2 years ago

_LOGGER.debug("Found include entities: %s", entities)

sure, here is the output:

2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([])
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: parkering_och_uppfart
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.driveway_1', unique_id='84:fd:27:ff:fe:b3:12:24-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='a1555fdc50b8068856d8437a021ea025', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='994f652d9d9dcf3d7a60d27e0963a4f3', name=None, options={}, original_device_class=None, original_icon=None, original_name='driveway_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.entre_1', unique_id='84:fd:27:ff:fe:b3:2c:c0-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='e1a28cf3f4a1d355feba3a63e9df0177', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='ce81fae558c68d5b644d612ea453d88f', name=None, options={}, original_device_class=None, original_icon=None, original_name='entre_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.entre_2', unique_id='84:fd:27:ff:fe:ab:95:99-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='4fb98986bc24f93e3c242a2904a038fb', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='cf076df1286e38c3e92a734f54e2fb80', name=None, options={}, original_device_class=None, original_icon=None, original_name='entre_2', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.garage_front', unique_id='84:fd:27:ff:fe:b3:0d:a6-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='a5889c2b969e3e2dfadc9d1fdf102f75', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='22300e246ed126d2f215f4dd724e1a70', name='Framsida garage', options={}, original_device_class=None, original_icon=None, original_name='garage_front', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.garage_side', unique_id='84:fd:27:ff:fe:2c:e9:1c-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='2fb81b2ae779d88171d6a69003104d23', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='de514b14091ccab191d7764841a6bcf6', name='Garagesida', options={}, original_device_class=None, original_icon=None, original_name='garage_side', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.parking_1', unique_id='84:fd:27:ff:fe:b0:f8:57-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 250, 'max_mireds': 454, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='362c7465816d778def1a513c35a884af', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='c353d262e0dfbcfe183f34cecd78d2bd', name=None, options={}, original_device_class=None, original_icon=None, original_name='parking_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.parking_2', unique_id='cc:86:ec:ff:fe:1b:d6:f2-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='8ce5a9bef647894ce65fa27f0f3e46f3', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='aab777e39d04c0b2aa439f985c0ebbe0', name=None, options={}, original_device_class=None, original_icon=None, original_name='parking_2', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.parking_3', unique_id='cc:86:ec:ff:fe:1b:d8:81-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='363bcd189cef3277ff236426aa20e86b', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='ce64d64eaa3e54b2f06b92e9246b2516', name=None, options={}, original_device_class=None, original_icon=None, original_name='parking_3', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.earth_cellar', unique_id='84:fd:27:ff:fe:b0:f4:d9-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='cbf28383e12778d3cf2f18d35ec76568', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='da38ce720317aef673f9b5dd8cbdf067', name='Jordkällare', options={}, original_device_class=None, original_icon=None, original_name='earth_cellar', supported_features=40, unit_of_measurement=None)])
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: dekoration_ute
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.conservatory_1', unique_id='84:fd:27:ff:fe:2c:e1:d3-01', platform='deconz', area_id='dekoration_ute', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='b037a1259f7832b324dcb58978046e0f', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='7f77146ae67b675bad2241b3c6aeb0cf', name=None, options={}, original_device_class=None, original_icon=None, original_name='conservatory_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.conservatory_2', unique_id='84:fd:27:ff:fe:2c:dd:2d-01', platform='deconz', area_id='dekoration_ute', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='0047e7c86303a4920ad9b5a29ffdc662', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='86eca518475771abe89f0fbc91860d8c', name=None, options={}, original_device_class=None, original_icon=None, original_name='conservatory_2', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.conservatory_3', unique_id='cc:86:ec:ff:fe:7d:fc:6f-01', platform='deconz', area_id='dekoration_ute', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='e6ffafe78d8bb7a0c0eda22670ee64a1', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='4ea262dbc05e855e000d62bd7cd89e72', name=None, options={}, original_device_class=None, original_icon=None, original_name='conservatory_3', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.greenhouse_1', unique_id='80:4b:50:ff:fe:79:c2:87-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='a16f1984900c5e95bff3b84357efe816', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='99c4a2398e66d4b7edc066e0ab7044b4', name='Växthus utanför', options={}, original_device_class=None, original_icon=None, original_name='greenhouse_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_1', unique_id='84:2e:14:ff:fe:40:f4:dd-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='984c1e3cd3709c2ae3172130ca07b196', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='66a1fa3ec73cedff24344b363f573694', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_2', unique_id='80:4b:50:ff:fe:79:a3:38-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='c073af9d2a3272749b3a8705392b7c2c', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='75dc2b34415c900f6275f946f317f91f', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_2', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_3', unique_id='80:4b:50:ff:fe:7a:18:30-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='676555ecb8abb564136ea52eb4e23acd', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='9fbb29c05f9015623beebe21e48ba35c', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_3', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_4', unique_id='80:4b:50:ff:fe:7a:18:1c-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='c64e47dd9ceeef626902f3544f21c758', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='0b3f8a911477a8d206d514e82298a06d', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_4', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_5', unique_id='84:2e:14:ff:fe:6b:31:65-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='c187da9e024c270e345040e2566c34ba', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='b5faa46c6be8309175a004c2e74c3cff', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_5', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_6', unique_id='80:4b:50:ff:fe:7a:18:21-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='ba80765377b05331cfdf177a9b2919be', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='e126ed0e38003d09020eae88cb332a23', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_6', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_7', unique_id='84:2e:14:ff:fe:40:f2:19-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='d08e18db175ad611b7350c0a1833a3ae', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='7dcf2dbff2d9bc035b8bcf01db454e26', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_7', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.greenhouse_strip', unique_id='7c:b0:3e:aa:00:a9:f8:8b-03', platform='deconz', area_id='dekoration_ute', capabilities={'min_mireds': 140, 'max_mireds': 650, 'effect_list': ['colorloop'], 'supported_color_modes': ['color_temp', 'hs', 'xy']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='9c8febef51fcaaf33cf6b431045cca04', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='35329301914c0cae3ee3561f6f8cbc36', name='Växthus tak', options={}, original_device_class=None, original_icon=None, original_name='greenhouse_strip', supported_features=44, unit_of_measurement=None)])
2022-07-01 19:41:36 ERROR (MainThread) [custom_components.powercalc.sensor] Could not resolve any entities in group 'outdoor ambience'
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: uterum
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.rice_lamp', unique_id='58:8e:81:ff:fe:b7:54:eb-01', platform='deconz', area_id=None, capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='c0445236ae06bd408ee790b56a3aa2dc', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='7bb3969cd4e70f74ef8c8bb016064faf', name='Rislampa', options={}, original_device_class=None, original_icon=None, original_name='rice_lamp', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.takfot_uterum', unique_id='00212E03B202-/groups/2', platform='deconz', area_id=None, capabilities={'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['colorloop'], 'supported_color_modes': ['color_temp', 'hs', 'xy']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='5ae24ea25aea80d9c98447f2786c84c7', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='320c0a3677ea8fc5a5febf569463e961', name=None, options={}, original_device_class=None, original_icon=None, original_name='Takfot uterum', supported_features=44, unit_of_measurement=None), RegistryEntry(entity_id='light.mushroom_lamp', unique_id='08:6b:d7:ff:fe:04:e7:c5-01', platform='deconz', area_id=None, capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='0ce9655241f1ad09074b63d157f9f9cd', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='bddd38f6656541019f3556eef02d66be', name='Svamplampa', options={}, original_device_class=None, original_icon=None, original_name='mushroom_lamp', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.conservatory_ceiling', unique_id='84:fd:27:ff:fe:58:17:75-01', platform='deconz', area_id=None, capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='1b98c8227a27d51076b9a4a3e48a9d37', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='19ca0151849e912015fc6327423daf2d', name='Taklampa', options={}, original_device_class=None, original_icon=None, original_name='conservatory_ceiling', supported_features=40, unit_of_measurement=None)])
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: kitchen
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.kitchen_lamp', unique_id='14:b4:57:ff:fe:3f:56:b7-01', platform='deconz', area_id=None, capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='0533cf8dd09a0047f587a1b475ebe6e7', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='e3744a78a5fd3085edc130a63699a518', name=None, options={}, original_device_class=None, original_icon=None, original_name='kitchen_lamp', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.kitchen_window_1', unique_id='50:32:5f:ff:fe:c1:1f:62-01', platform='deconz', area_id=None, capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='59290164c6c1a513db030f965ece2e58', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='8ac768a40d1314c8b4ae7cf7120bb567', name=None, options={}, original_device_class=None, original_icon=None, original_name='kitchen_window_1', supported_features=40, unit_of_measurement=None)])
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: allrum
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.floor_lamp', unique_id='bc:33:ac:ff:fe:86:52:27-01', platform='deconz', area_id=None, capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='4cec3291a67d826de4800c924cdb8663', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='75806c66f09481c5044e675d54233033', name='Golvlampan', options={}, original_device_class=None, original_icon=None, original_name='floor_lamp', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.family_room_window_1', unique_id='b4:e3:f9:ff:fe:cb:1a:2b-01', platform='deconz', area_id=None, capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='fce506a1aa06423f5d04fb3ee8b9d03c', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='f6af6cb7ac1a18928112e811f6290f80', name='Fönsterlampa', options={}, original_device_class=None, original_icon=None, original_name='family_room_window_1', supported_features=40, unit_of_measurement=None)])
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: badrum_nere
2022-07-01 19:41:36 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.bathroom_downstairs_mirror', unique_id='84:2e:14:ff:fe:56:66:f0-01', platform='deconz', area_id=None, capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='33b91b3dcf73ff9841f9e84921aecfc5', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='0998af653e13f0d1e49cd72e92ab7b19', name=None, options={}, original_device_class=None, original_icon=None, original_name='bathroom_downstairs_mirror', supported_features=40, unit_of_measurement=None)])
2022-07-01 19:41:36 ERROR (MainThread) [custom_components.powercalc.sensor] Could not resolve any entities in group 'bathroom'
bramstroker commented 2 years ago

This looks fine. powercalc is finding the entities in your area's, so that's promising. However I have stepped through the code 10 times and cannot understand why there are no more log lines after "Found include entity", because there should be lines for each entity in the list.

Could you also try adding a log line here https://github.com/bramstroker/homeassistant-powercalc/blob/master/custom_components/powercalc/model_discovery.py#L51. For example:

_LOGGER.debug("is_autoconfigurable")

And here: https://github.com/bramstroker/homeassistant-powercalc/blob/master/custom_components/powercalc/model_discovery.py#L30

_LOGGER.debug("get_light_model")

bramstroker commented 2 years ago

A wait. I see why you don't have more logs.

Looked at your configuration.

https://github.com/gribber/ha/commit/1959089819b606df67b4aeb5d9a7dbc7b34c7ec8#diff-901ad7db8c326d1c2b183c5c96f5567670adbd8ca7553a69f3fc7986e6e86830R10

You have custom_components.powercalc.sensor: debug here. Must be custom_components.powercalc: debug

gribber commented 2 years ago

Oh, of course! Sorry for that

here is the updated log:

2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] Start auto discovering entities
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.floor_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 WS opal 1000lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1732G11/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.utomhuslampor: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.utomhuslampor: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.takfot_uterum: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.takfot_uterum: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.dekoration_ute: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.dekoration_ute: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.entre: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.entre: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.rice_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E14 WS 470lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1835C6/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbGU10WS345lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.conservatory_1: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbGU10WS345lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.conservatory_2: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_3: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbGU10WS345lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.conservatory_3: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.driveway_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.entre_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.entre_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.garage_front: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.garage_side: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.greenhouse_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.greenhouse_1: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_3: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.stamningslampor: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.stamningslampor: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.wall_1: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.wall_2: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_3: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.wall_3: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_4: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.wall_4: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_5: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.wall_5: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_6: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.wall_6: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_7: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.wall_7: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parkering_och_uppfart: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.parkering_och_uppfart: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.kitchen_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 WW clear 250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1842G3/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.earth_cellar: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.restart_boiler_esp: Auto discovered model (manufacturer=espressif, model=d1_mini)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.restart_boiler_esp: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.range_extender_28: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI Signal Repeater)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.range_extender_28: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.notify: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.notify: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.bedroom_ceiling: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 W opal 1000lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1623G12/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.hallway_upstairs_wall: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E14 W op#slash#ch 400lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1649C5/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.innelampor: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.innelampor: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.mushroom_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E14 W op#slash#ch 400lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1649C5/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.boiler_restart_esp: Auto discovered model (manufacturer=espressif, model=d1_mini)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.boiler_restart_esp: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.boiler_hot_water_circulation: Auto discovered model (manufacturer=espressif, model=d1_mini)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.boiler_hot_water_circulation: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.boiler_reminder_led_1: Auto discovered model (manufacturer=espressif, model=d1_mini)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.boiler_reminder_led_1: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.boiler_reminder_led_2: Auto discovered model (manufacturer=espressif, model=d1_mini)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.boiler_reminder_led_2: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.boiler_reminder_led_4: Auto discovered model (manufacturer=espressif, model=d1_mini)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.boiler_reminder_led_4: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.boiler_reminder_led_3: Auto discovered model (manufacturer=espressif, model=d1_mini)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.boiler_reminder_led_3: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.sovrum: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.sovrum: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.bedroom_left: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.bedroom_right: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.group_15235: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.group_15235: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.earth_cellar_radiator: Auto discovered model (manufacturer=innr, model=SP 120)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.earth_cellar_radiator: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.allrum: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.allrum: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.vardagsrum: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.vardagsrum: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.livingroom_window_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE14WScandleopal470lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1949C5/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.family_room_window_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE14WScandleopal470lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1949C5/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.kok: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.kok: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.kitchen_window_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE14WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.kitchen_window_1: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.hallway_upstairs_window: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE14WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.hallway_upstairs_window: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.color_temperature_light_40: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE14WScandleopal470lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1949C5/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.cinema: Auto discovered model (manufacturer=_TZ3000_g5xawfcq, model=TS0121)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.cinema: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.garage_plug: Auto discovered model (manufacturer=innr, model=SP 120)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.garage_plug: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.hallway_downstairs_bench: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 CWS opal 600lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1624G9/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.badrum_nere: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.badrum_nere: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.bathroom_downstairs_mirror: Auto discovered model (manufacturer=IKEA of Sweden, model=SILVERGLANS IP44 LED driver)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.bathroom_downstairs_mirror: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.hobbyroom_outlet: Auto discovered model (manufacturer=Shelly, model=Shelly EM)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.hobbyroom_outlet: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.heatpump_vvc: Auto discovered model (manufacturer=Shelly, model=Shelly 3EM)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.heatpump_vvc: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.laundry_room_channel_1: Auto discovered model (manufacturer=Shelly, model=Shelly 2.5)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.laundry_room_channel_1: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.laundry_room_channel_2: Auto discovered model (manufacturer=Shelly, model=Shelly 2.5)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.laundry_room_channel_2: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.onboard_led: Auto discovered model (manufacturer=espressif, model=esp32dev)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.onboard_led: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_ceiling: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.kitchen_onboard_led: Auto discovered model (manufacturer=espressif, model=esp32dev)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.kitchen_onboard_led: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.bedroom_window: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.bedroom_window: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.office_led_strip: Auto discovered model (manufacturer=LIDL Livarno Lux, model=HG06104A)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.office_led_strip: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] switch.floor_heating_circulation_pump: Auto discovered model (manufacturer=_TZ3000_g5xawfcq, model=TS0121)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] switch.floor_heating_circulation_pump: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.dimmable_light_46: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E14 W op#slash#ch 400lm)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1649C5/model.json
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.always_on: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.always_on: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.greenhouse_strip: Auto discovered model (manufacturer=OSRAM, model=LIGHTIFY Outdoor Flex RGBW)
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] light.greenhouse_strip: Model not found in library, skipping auto configuration
2022-07-01 20:34:30 DEBUG (MainThread) [custom_components.powercalc] Done auto discovering entities
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([])
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/data/ikea/LED2003G10/color_temp.csv.gz
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 1144 lines
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.parking_1 entity_category=None, sensor_name=parking_1 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:b0:f8:57-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: parking_1 energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: parkering_och_uppfart
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.driveway_1', unique_id='84:fd:27:ff:fe:b3:12:24-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='a1555fdc50b8068856d8437a021ea025', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='994f652d9d9dcf3d7a60d27e0963a4f3', name=None, options={}, original_device_class=None, original_icon=None, original_name='driveway_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.entre_1', unique_id='84:fd:27:ff:fe:b3:2c:c0-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='e1a28cf3f4a1d355feba3a63e9df0177', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='ce81fae558c68d5b644d612ea453d88f', name=None, options={}, original_device_class=None, original_icon=None, original_name='entre_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.entre_2', unique_id='84:fd:27:ff:fe:ab:95:99-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='4fb98986bc24f93e3c242a2904a038fb', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='cf076df1286e38c3e92a734f54e2fb80', name=None, options={}, original_device_class=None, original_icon=None, original_name='entre_2', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.garage_front', unique_id='84:fd:27:ff:fe:b3:0d:a6-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='a5889c2b969e3e2dfadc9d1fdf102f75', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='22300e246ed126d2f215f4dd724e1a70', name='Framsida garage', options={}, original_device_class=None, original_icon=None, original_name='garage_front', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.garage_side', unique_id='84:fd:27:ff:fe:2c:e9:1c-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='2fb81b2ae779d88171d6a69003104d23', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='de514b14091ccab191d7764841a6bcf6', name='Garagesida', options={}, original_device_class=None, original_icon=None, original_name='garage_side', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.parking_1', unique_id='84:fd:27:ff:fe:b0:f8:57-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 250, 'max_mireds': 454, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='362c7465816d778def1a513c35a884af', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='c353d262e0dfbcfe183f34cecd78d2bd', name=None, options={}, original_device_class=None, original_icon=None, original_name='parking_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.parking_2', unique_id='cc:86:ec:ff:fe:1b:d6:f2-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='8ce5a9bef647894ce65fa27f0f3e46f3', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='aab777e39d04c0b2aa439f985c0ebbe0', name=None, options={}, original_device_class=None, original_icon=None, original_name='parking_2', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.parking_3', unique_id='cc:86:ec:ff:fe:1b:d8:81-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='363bcd189cef3277ff236426aa20e86b', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='ce64d64eaa3e54b2f06b92e9246b2516', name=None, options={}, original_device_class=None, original_icon=None, original_name='parking_3', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.earth_cellar', unique_id='84:fd:27:ff:fe:b0:f4:d9-01', platform='deconz', area_id='parkering_och_uppfart', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='cbf28383e12778d3cf2f18d35ec76568', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='da38ce720317aef673f9b5dd8cbdf067', name='Jordkällare', options={}, original_device_class=None, original_icon=None, original_name='earth_cellar', supported_features=40, unit_of_measurement=None)])
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.driveway_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.entre_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.entre_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.garage_front: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.garage_side: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_3: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.earth_cellar: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.driveway_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.driveway_1 entity_category=None, sensor_name=driveway_1 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:b3:12:24-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: driveway_1 energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.entre_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.entre_1 entity_category=None, sensor_name=entre_1 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:b3:2c:c0-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: entre_1 energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.entre_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.entre_2 entity_category=None, sensor_name=entre_2 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:ab:95:99-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: entre_2 energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.garage_front: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.garage_front entity_category=None, sensor_name=Framsida garage power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:b3:0d:a6-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Framsida garage energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.garage_side: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.garage_side entity_category=None, sensor_name=Garagesida power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:2c:e9:1c-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Garagesida energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.parking_2 entity_category=None, sensor_name=parking_2 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=cc:86:ec:ff:fe:1b:d6:f2-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: parking_2 energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.parking_3: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.parking_3 entity_category=None, sensor_name=parking_3 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=cc:86:ec:ff:fe:1b:d8:81-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: parking_3 energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.earth_cellar: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.earth_cellar entity_category=None, sensor_name=Jordkällare power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:b0:f4:d9-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Jordkällare energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: outdoor parking driveway power
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: outdoor parking driveway energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: dekoration_ute
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.conservatory_1', unique_id='84:fd:27:ff:fe:2c:e1:d3-01', platform='deconz', area_id='dekoration_ute', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='b037a1259f7832b324dcb58978046e0f', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='7f77146ae67b675bad2241b3c6aeb0cf', name=None, options={}, original_device_class=None, original_icon=None, original_name='conservatory_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.conservatory_2', unique_id='84:fd:27:ff:fe:2c:dd:2d-01', platform='deconz', area_id='dekoration_ute', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='0047e7c86303a4920ad9b5a29ffdc662', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='86eca518475771abe89f0fbc91860d8c', name=None, options={}, original_device_class=None, original_icon=None, original_name='conservatory_2', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.conservatory_3', unique_id='cc:86:ec:ff:fe:7d:fc:6f-01', platform='deconz', area_id='dekoration_ute', capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='e6ffafe78d8bb7a0c0eda22670ee64a1', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='4ea262dbc05e855e000d62bd7cd89e72', name=None, options={}, original_device_class=None, original_icon=None, original_name='conservatory_3', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.greenhouse_1', unique_id='80:4b:50:ff:fe:79:c2:87-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='a16f1984900c5e95bff3b84357efe816', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='99c4a2398e66d4b7edc066e0ab7044b4', name='Växthus utanför', options={}, original_device_class=None, original_icon=None, original_name='greenhouse_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_1', unique_id='84:2e:14:ff:fe:40:f4:dd-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='984c1e3cd3709c2ae3172130ca07b196', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='66a1fa3ec73cedff24344b363f573694', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_1', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_2', unique_id='80:4b:50:ff:fe:79:a3:38-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='c073af9d2a3272749b3a8705392b7c2c', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='75dc2b34415c900f6275f946f317f91f', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_2', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_3', unique_id='80:4b:50:ff:fe:7a:18:30-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='676555ecb8abb564136ea52eb4e23acd', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='9fbb29c05f9015623beebe21e48ba35c', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_3', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_4', unique_id='80:4b:50:ff:fe:7a:18:1c-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='c64e47dd9ceeef626902f3544f21c758', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='0b3f8a911477a8d206d514e82298a06d', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_4', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_5', unique_id='84:2e:14:ff:fe:6b:31:65-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='c187da9e024c270e345040e2566c34ba', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='b5faa46c6be8309175a004c2e74c3cff', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_5', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_6', unique_id='80:4b:50:ff:fe:7a:18:21-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='ba80765377b05331cfdf177a9b2919be', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='e126ed0e38003d09020eae88cb332a23', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_6', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.wall_7', unique_id='84:2e:14:ff:fe:40:f2:19-01', platform='deconz', area_id='dekoration_ute', capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='d08e18db175ad611b7350c0a1833a3ae', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='7dcf2dbff2d9bc035b8bcf01db454e26', name=None, options={}, original_device_class=None, original_icon=None, original_name='wall_7', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.greenhouse_strip', unique_id='7c:b0:3e:aa:00:a9:f8:8b-03', platform='deconz', area_id='dekoration_ute', capabilities={'min_mireds': 140, 'max_mireds': 650, 'effect_list': ['colorloop'], 'supported_color_modes': ['color_temp', 'hs', 'xy']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='9c8febef51fcaaf33cf6b431045cca04', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='35329301914c0cae3ee3561f6f8cbc36', name='Växthus tak', options={}, original_device_class=None, original_icon=None, original_name='greenhouse_strip', supported_features=44, unit_of_measurement=None)])
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbGU10WS345lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbGU10WS345lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_3: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbGU10WS345lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.greenhouse_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_2: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_3: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_4: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_5: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_6: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.wall_7: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.greenhouse_strip: Auto discovered model (manufacturer=OSRAM, model=LIGHTIFY Outdoor Flex RGBW)
2022-07-01 20:34:31 ERROR (MainThread) [custom_components.powercalc.sensor] Could not resolve any entities in group 'outdoor ambience'
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: uterum
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.rice_lamp', unique_id='58:8e:81:ff:fe:b7:54:eb-01', platform='deconz', area_id=None, capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='c0445236ae06bd408ee790b56a3aa2dc', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='7bb3969cd4e70f74ef8c8bb016064faf', name='Rislampa', options={}, original_device_class=None, original_icon=None, original_name='rice_lamp', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.takfot_uterum', unique_id='00212E03B202-/groups/2', platform='deconz', area_id=None, capabilities={'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['colorloop'], 'supported_color_modes': ['color_temp', 'hs', 'xy']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='5ae24ea25aea80d9c98447f2786c84c7', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='320c0a3677ea8fc5a5febf569463e961', name=None, options={}, original_device_class=None, original_icon=None, original_name='Takfot uterum', supported_features=44, unit_of_measurement=None), RegistryEntry(entity_id='light.mushroom_lamp', unique_id='08:6b:d7:ff:fe:04:e7:c5-01', platform='deconz', area_id=None, capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='0ce9655241f1ad09074b63d157f9f9cd', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='bddd38f6656541019f3556eef02d66be', name='Svamplampa', options={}, original_device_class=None, original_icon=None, original_name='mushroom_lamp', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.conservatory_ceiling', unique_id='84:fd:27:ff:fe:58:17:75-01', platform='deconz', area_id=None, capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='1b98c8227a27d51076b9a4a3e48a9d37', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='19ca0151849e912015fc6327423daf2d', name='Taklampa', options={}, original_device_class=None, original_icon=None, original_name='conservatory_ceiling', supported_features=40, unit_of_measurement=None)])
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.rice_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E14 WS 470lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1835C6/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.takfot_uterum: Auto discovered model (manufacturer=Dresden Elektronik, model=deCONZ group)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.mushroom_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E14 W op#slash#ch 400lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1649C5/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_ceiling: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.rice_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E14 WS 470lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1835C6/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/data/ikea/LED1835C6/color_temp.csv.gz
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 1144 lines
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.rice_lamp entity_category=None, sensor_name=Rislampa power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRI bulb E14 WS 470lm standby_power=0.25 unique_id=58:8e:81:ff:fe:b7:54:eb-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Rislampa energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.mushroom_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E14 W op#slash#ch 400lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1649C5/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/data/ikea/LED1649C5/brightness.csv.gz
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 100 lines
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.mushroom_lamp entity_category=None, sensor_name=Svamplampa power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRI bulb E14 W op/ch 400lm standby_power=0.40000000000000002220446049250313080847263336181640625 unique_id=08:6b:d7:ff:fe:04:e7:c5-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Svamplampa energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.conservatory_ceiling: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE27WSglobeopal1055lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED2003G10/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.conservatory_ceiling entity_category=None, sensor_name=Taklampa power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:58:17:75-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Taklampa energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: conservatory power
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: conservatory energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: kitchen
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.kitchen_lamp', unique_id='14:b4:57:ff:fe:3f:56:b7-01', platform='deconz', area_id=None, capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='0533cf8dd09a0047f587a1b475ebe6e7', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='e3744a78a5fd3085edc130a63699a518', name=None, options={}, original_device_class=None, original_icon=None, original_name='kitchen_lamp', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.kitchen_window_1', unique_id='50:32:5f:ff:fe:c1:1f:62-01', platform='deconz', area_id=None, capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='59290164c6c1a513db030f965ece2e58', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='8ac768a40d1314c8b4ae7cf7120bb567', name=None, options={}, original_device_class=None, original_icon=None, original_name='kitchen_window_1', supported_features=40, unit_of_measurement=None)])
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.kitchen_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 WW clear 250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1842G3/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.kitchen_window_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE14WWclear250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.kitchen_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 WW clear 250lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1842G3/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/data/ikea/LED1842G3/brightness.csv.gz
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 255 lines
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.kitchen_lamp entity_category=None, sensor_name=kitchen_lamp power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRI bulb E27 WW clear 250lm standby_power=0.55100000000000004529709940470638684928417205810546875 unique_id=14:b4:57:ff:fe:3f:56:b7-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: kitchen_lamp energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: kitchen power
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: kitchen energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: allrum
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.floor_lamp', unique_id='bc:33:ac:ff:fe:86:52:27-01', platform='deconz', area_id=None, capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='4cec3291a67d826de4800c924cdb8663', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='75806c66f09481c5044e675d54233033', name='Golvlampan', options={}, original_device_class=None, original_icon=None, original_name='floor_lamp', supported_features=40, unit_of_measurement=None), RegistryEntry(entity_id='light.family_room_window_1', unique_id='b4:e3:f9:ff:fe:cb:1a:2b-01', platform='deconz', area_id=None, capabilities={'min_mireds': 140, 'max_mireds': 650, 'supported_color_modes': ['color_temp']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='fce506a1aa06423f5d04fb3ee8b9d03c', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='f6af6cb7ac1a18928112e811f6290f80', name='Fönsterlampa', options={}, original_device_class=None, original_icon=None, original_name='family_room_window_1', supported_features=40, unit_of_measurement=None)])
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.floor_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 WS opal 1000lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1732G11/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.family_room_window_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE14WScandleopal470lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1949C5/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.floor_lamp: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRI bulb E27 WS opal 1000lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1732G11/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/data/ikea/LED1732G11/color_temp.csv.gz
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 1785 lines
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.floor_lamp entity_category=None, sensor_name=Golvlampan power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRI bulb E27 WS opal 1000lm standby_power=0.2600000000000000088817841970012523233890533447265625 unique_id=bc:33:ac:ff:fe:86:52:27-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Golvlampan energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.family_room_window_1: Auto discovered model (manufacturer=IKEA of Sweden, model=TRADFRIbulbE14WScandleopal470lm)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.light_model] Loading /config/custom_components/powercalc/data/ikea/LED1949C5/model.json
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/data/ikea/LED1949C5/color_temp.csv.gz
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 1144 lines
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.family_room_window_1 entity_category=None, sensor_name=Fönsterlampa power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE14WScandleopal470lm standby_power=0.200000000000000011102230246251565404236316680908203125 unique_id=b4:e3:f9:ff:fe:cb:1a:2b-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Fönsterlampa energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped power sensor: family room power
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.group] Creating grouped energy sensor: family room energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Including entities from area: badrum_nere
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensor] Found include entities: dict_values([RegistryEntry(entity_id='light.bathroom_downstairs_mirror', unique_id='84:2e:14:ff:fe:56:66:f0-01', platform='deconz', area_id=None, capabilities={'supported_color_modes': ['brightness']}, config_entry_id='2896c6bb57a1acdab6da1d7fba007c63', device_class=None, device_id='33b91b3dcf73ff9841f9e84921aecfc5', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='0998af653e13f0d1e49cd72e92ab7b19', name=None, options={}, original_device_class=None, original_icon=None, original_name='bathroom_downstairs_mirror', supported_features=40, unit_of_measurement=None)])
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.bathroom_downstairs_mirror: Auto discovered model (manufacturer=IKEA of Sweden, model=SILVERGLANS IP44 LED driver)
2022-07-01 20:34:31 ERROR (MainThread) [custom_components.powercalc.sensor] Could not resolve any entities in group 'bathroom'
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/data/ikea/LED1623G12/brightness.csv.gz
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 100 lines
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.bedroom_ceiling entity_category=None, sensor_name=Taklampan power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRI bulb E27 W opal 1000lm standby_power=0.35999999999999998667732370449812151491641998291015625 unique_id=00:0d:6f:ff:fe:fc:12:f4-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Taklampan energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.hallway_upstairs_wall entity_category=None, sensor_name=Vägglampa power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRI bulb E14 W op/ch 400lm standby_power=0.40000000000000002220446049250313080847263336181640625 unique_id=08:6b:d7:ff:fe:2c:5e:f6-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Vägglampa energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.bedroom_left entity_category=None, sensor_name=Vänster sänglampa power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=2c:11:65:ff:fe:03:8a:92-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Vänster sänglampa energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.bedroom_right entity_category=None, sensor_name=Höger sänglampa power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=50:32:5f:ff:fe:ed:90:c1-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Höger sänglampa energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.livingroom_window_1 entity_category=None, sensor_name=Fönsterlampa norr power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE14WScandleopal470lm standby_power=0.200000000000000011102230246251565404236316680908203125 unique_id=b4:e3:f9:ff:fe:0c:06:8d-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Fönsterlampa norr energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.color_temperature_light_40 entity_category=None, sensor_name=Color temperature light 40 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE14WScandleopal470lm standby_power=0.200000000000000011102230246251565404236316680908203125 unique_id=cc:86:ec:ff:fe:89:5f:95-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Color temperature light 40 energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] Loading LUT data file: /config/custom_components/powercalc/data/ikea/LED1624G9/hs.csv.gz
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] LUT file loaded: 24813 lines
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.hallway_downstairs_bench entity_category=None, sensor_name=hallway_downstairs_bench power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRI bulb E27 CWS opal 600lm standby_power=0.479999999999999982236431605997495353221893310546875 unique_id=00:0b:57:ff:fe:c7:fc:2a-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: hallway_downstairs_bench energy
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.dimmable_light_46 entity_category=None, sensor_name=Dimmable light 46 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRI bulb E14 W op/ch 400lm standby_power=0.40000000000000002220446049250313080847263336181640625 unique_id=68:0a:e2:ff:fe:8f:8d:11-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Dimmable light 46 energy
2022-07-01 20:34:32 WARNING (MainThread) [homeassistant.components.integration.sensor] sensor.livingroom_window_1_energy could not restore last state unknown: [<class 'decimal.ConversionSyntax'>]
2022-07-01 20:34:32 WARNING (MainThread) [homeassistant.components.integration.sensor] sensor.color_temperature_light_40_energy could not restore last state unknown: [<class 'decimal.ConversionSyntax'>]
2022-07-01 20:34:36 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Marantz SR7010' for denonavr integration not ready yet: NetworkError: All connection attempts failed; Retrying in background
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.parking_1: State changed to "off". Power:0.17
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.bedroom_ceiling: State changed to "off". Power:0.36
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.hallway_upstairs_wall: Looking up power usage for bri:254
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.hallway_upstairs_wall: Calculated power:5.54999999999999982236431605997495353221893310546875
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.hallway_upstairs_wall: State changed to "on". Power:5.55
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.bedroom_left: Looking up power usage for bri:20 mired:250
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.bedroom_left: Calculated power:0.57399999999999995470290059529361315071582794189453125
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.bedroom_left: State changed to "on". Power:0.57
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.bedroom_right: Looking up power usage for bri:20 mired:250
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.bedroom_right: Calculated power:0.57399999999999995470290059529361315071582794189453125
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.bedroom_right: State changed to "on". Power:0.57
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.livingroom_window_1: Source entity has an invalid state, setting power sensor to unavailable
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.color_temperature_light_40: Source entity has an invalid state, setting power sensor to unavailable
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.hallway_downstairs_bench: Looking up power usage for bri:20 hue:4786 sat:89}
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.strategy.lut] light.hallway_downstairs_bench: Calculated power:0.82799999999999995825561427409411408007144927978515625
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.hallway_downstairs_bench: State changed to "on". Power:0.83
2022-07-01 20:34:38 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.dimmable_light_46: State changed to "off". Power:0.40
2022-07-01 20:34:39 WARNING (MainThread) [homeassistant.components.automation.house_vvc_switch] House: vvc switch: Already running
2022-07-01 20:34:39 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.bedroom_left: State changed to "off". Power:0.17
2022-07-01 20:34:39 WARNING (MainThread) [homeassistant.components.automation.bedroom_lights] Bedroom: lights: Already running
2022-07-01 20:34:39 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.bedroom_right: State changed to "off". Power:0.17
2022-07-01 20:34:39 WARNING (MainThread) [homeassistant.components.automation.bedroom_lights] Bedroom: lights: Already running

At least it outputs info about creating a sensor, like:

2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.driveway_1 entity_category=None, sensor_name=driveway_1 power strategy=LutStrategy manufacturer=IKEA of Sweden model=TRADFRIbulbE27WSglobeopal1055lm standby_power=0.1700000000000000122124532708767219446599483489990234375 unique_id=84:fd:27:ff:fe:b3:12:24-01)
2022-07-01 20:34:31 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: driveway_1 energy

But there is nothing created

root@homeassistant:~# hass-cli entity list | grep driveway_1
light.driveway_1                                    None                                        a1555fdc50b8068856d8437a021ea025  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
root@homeassistant:~#

compared to:

root@homeassistant:~# hass-cli entity list | grep bedroom_left
light.bedroom_left                                  Vänster sänglampa                           60094d054dd2ba2fce86be214f6cb844  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
sensor.bedroom_left_power                           None                                        60094d054dd2ba2fce86be214f6cb844  powercalc            None                              None
sensor.bedroom_left_energy                          None                                        60094d054dd2ba2fce86be214f6cb844  powercalc            None                              None
root@homeassistant:~#
bramstroker commented 2 years ago

I don't see any issues when quickly scanning through the logs. Everything looks as expected.

I have no clue why the entities not exist in your installation.

Could you try adding the light.driveway_1 manually without the area option.

- platform: powercalc
  entity_id: light.driveway_1

Shouldn't make any difference as the way the power and energy sensors are created is the same, but it's the most simple configuration so would suggest to try that first.

bramstroker commented 2 years ago

Also look at in the entity section or developer tools in HA first, to rule out any issues with the hass-cli / API. Maybe the entity is hidden somehow or disabled?

gribber commented 2 years ago
- platform: powercalc
  entity_id: light.driveway_1

Yea, this is totally in line with my regular line of work, shouldn't happen but.. :D

root@homeassistant:~# hass-cli entity list | grep driveway_1
light.driveway_1                                    None                                        a1555fdc50b8068856d8437a021ea025  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
sensor.driveway_1_power                             None                                        a1555fdc50b8068856d8437a021ea025  powercalc            None                              None
sensor.driveway_1_energy                            None                                        a1555fdc50b8068856d8437a021ea025  powercalc            None                              None
root@homeassistant:~#

Works as expected for this one now (just as it did with the parking_1 light) Energy and Power sensors shows up for the device in the gui as well

gribber commented 2 years ago

Did some further tests, moved a part of the configuration so it's not nested within another group, like this:

- platform: powercalc
  create_group: outdoor parking driveway
  include:
    area: parkering_och_uppfart

- platform: powercalc
  create_group: outdoor lights
  entities:
    - create_group: outdoor ambience
      include:
        area: dekoration_ute

first section there was a part of the nested group in the other section before

now it does create power/energy sensors for all lights in the 'parkering_och_uppfart' area, but there is still no group sensor created

bramstroker commented 2 years ago

Some strange behaviour you've got :-(. Pulling my hair out on this one I am not able to reproduce anything so nothing to work with to get to any debugging.

I was testing with this configuration:

- platform: powercalc
    create_group: "BathroomKitchen"
    entities:
      - create_group: "Bathroom"
        include:
          area: Bathroom
      - create_group: "Kitchen"
        include:
          area: Kitchen

This is working without any issues on my installation. All the individual power and energy sensors are created and also the group sensors (BathroomKitchen power, Bathroom power and Kitchen power).

btw you may disable auto discovery in your configuration as that will do nothing on your situation anyway.

powercalc:
  enable_autodiscovery: false

Also make sure you are on latest powercalc version v0.21.1

Which HA version are you running?

Will let you know if any other ideas come to my mind.

gribber commented 2 years ago

Some strange behaviour you've got :-(. Pulling my hair out on this one I am not able to reproduce anything so nothing to work with to get to any debugging.

I was testing with this configuration:

- platform: powercalc
    create_group: "BathroomKitchen"
    entities:
      - create_group: "Bathroom"
        include:
          area: Bathroom
      - create_group: "Kitchen"
        include:
          area: Kitchen

This is working without any issues on my installation. All the individual power and energy sensors are created and also the group sensors (BathroomKitchen power, Bathroom power and Kitchen power).

btw you may disable auto discovery in your configuration as that will do nothing on your situation anyway.

powercalc:
  enable_autodiscovery: false

Also make sure you are on latest powercalc version v0.21.1

Which HA version are you running?

Will let you know if any other ideas come to my mind.

Using latest version of both, v0.21.1 and HA 2022.6.7

I'll continue to figure out what's going on here

gribber commented 2 years ago

Ok. some progress, I think, at least more info Removed all groups that only had unsupported bulbs (groups returning this: [custom_components.powercalc.sensor] Could not resolve any entities in group 'office'), now it seems to create sensors for all other lights, at least those who has power/connected to grid/online

Noticed one bulb, which I don't have defined in the config (using it for some other test purpuse) light.dimmable_light_46 area: garage So the entity nor the area is defined in the config, but still energy and power sensors has been created for that device

root@homeassistant:~# hass-cli entity list | grep dimmable_light_46
light.dimmable_light_46                             None                                        6bc1e657e4471cf4439b456416269f8a  deconz               2896c6bb57a1acdab6da1d7fba007c63  None
sensor.dimmable_light_46_power                      None                                        6bc1e657e4471cf4439b456416269f8a  powercalc            None                              None
sensor.dimmable_light_46_energy                     None                                        6bc1e657e4471cf4439b456416269f8a  powercalc            None                              None
root@homeassistant:~#

Also, groups sensors has been created now

So seems to me, right now, that the problem is related to when all resolved lights in a area within a group is unsupported

bramstroker commented 2 years ago

Thanks for providing the additional information, very useful. Will see if I can reproduce with this new findings. I am afk for a bit, so will probably be sunday I can have a look.

bramstroker commented 2 years ago

Btw the entitiy which was added without you specifiying it would be because enable_autodiscovery is still enabled, which would scan your whole HA instance for all supported lights.

bramstroker commented 2 years ago

Potentially fixed with #824. Has been merged into master branch. So you can give it a go by installing that branch.

gribber commented 2 years ago

Yep! That solved the problem, great work!

bramstroker commented 2 years ago

Thanks for confirming and the help in debugging. Closing this issue