TP-Link Kasa KL125 bulbs unreliable within HA since 2024.10.2
I have 11 kasa KL125 bulbs and since 2024.10.2 (I skipped 2024.10.0 and 2024.10.1 releases) they've been going offline in HA. In the app they are always online and consistently immediately responsive. The fact that the app works instantly on all bulbs that show offline in HA tells me that this is definitely a HA integration thing.
One person in another thread mentioned changing IPs in dhcp, but I've since migrated all to static IPs.
This is what I see in home assistant. Again, all of these have solid signal to the access point, and are available in the kasa app and instantly respond to changes from kasa.
Some of the behavior I see when using the homeassistant is:
When turning on or off a group of 4 bulbs I see the following behavior
Not all will toggle usually 2 or 3 out of 4 One may blink at full brightness for about a tenth of a second every 3 to 4 seconds Sometimes they come on a different brightnesses When adjusting individual bulbs Long delays before responding Bulb immediately reporting offline Bulb coming on at partial brightness when instructed to turn on at 100%
Code for my toggle call
metadata: {}
data:
brightness_pct: 100
target:
area_id: office
entity_id: light.office_lights
action: light.toggle
light.office_lights is a group entity containing office light 1-4
Adding log entries - I see a bunch of this over and over with all of my bulbs:
2024-10-18 12:13:17.806 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.19 data: Unable to query the device 10.1.11.19:9999:
2024-10-18 12:13:17.807 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.office_light_1_current_consumption with value unavailable excluded from calculation in sensor.lights_current_energy_usage
2024-10-18 12:13:17.807 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.office_light_1_today_s_consumption with value unavailable excluded from calculation in sensor.lights_today_s_usage
2024-10-18 12:13:18.005 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.10 data: Unable to query the device 10.1.11.10:9999:
2024-10-18 12:13:18.007 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.office_light_4_current_consumption with value unavailable excluded from calculation in sensor.lights_current_energy_usage
2024-10-18 12:13:18.007 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.office_light_4_today_s_consumption with value unavailable excluded from calculation in sensor.lights_today_s_usage
2024-10-18 12:13:27.946 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.11 data: Unable to query the device 10.1.11.11:9999:
2024-10-18 12:13:27.947 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.bedroom_light_2_current_consumption with value unavailable excluded from calculation in sensor.lights_current_energy_usage
2024-10-18 12:13:27.947 WARNING (MainThread) [homeassistant.components.group.sensor] Unable to use state. Only numerical states are supported, entity sensor.bedroom_light_2_today_s_consumption with value unavailable excluded from calculation in sensor.lights_today_s_usage
more logs from logbook
Kitchen 2 Light preset changed to Not set
1:17:38 PM - Now
Kitchen 2 turned off
1:17:38 PM - Now
Kitchen 2 Cloud connection was connected
1:17:38 PM - Now
Office Light 3 Light preset changed to Not set
1:17:35 PM - Now
Office Light 3 turned on
1:17:35 PM - Now
Office Light 3 Cloud connection was connected
1:17:35 PM - Now
Office Light 4 Light preset became unavailable
1:17:35 PM - Now
Office Light 4 became unavailable
1:17:35 PM - Now
Office Light 4 Cloud connection became unavailable
1:17:35 PM - Now
Kitchen Lights turned off triggered by state of Kitchen 1 turned off
1:17:32 PM - 1 second ago
Kitchen 1 Light preset changed to Not set
1:17:32 PM - 1 second ago
Kitchen 1 turned off
1:17:32 PM - 1 second ago
Kitchen 1 Cloud connection was connected
1:17:32 PM - 1 second ago
Bedroom Light 1 Light preset changed to Not set
1:17:27 PM - 6 seconds ago
Bedroom Light 1 turned off
1:17:27 PM - 6 seconds ago
Bedroom Light 1 Cloud connection was connected
1:17:27 PM - 6 seconds ago
Bedroom Light 3 Light preset changed to Not set
1:17:26 PM - 8 seconds ago
Bedroom Light 3 turned off
1:17:26 PM - 8 seconds ago
Bedroom Light 3 Cloud connection was connected
1:17:26 PM - 8 seconds ago
Bedroom Light 2 Light preset became unavailable
1:17:24 PM - 9 seconds ago
Bedroom Light 2 became unavailable
1:17:24 PM - 9 seconds ago
Originally posted by @welborn in https://github.com/home-assistant/core/issues/128040#issuecomment-2422964545
Additional info:
Confirmed all firmware on all bulbs are up to date.
Confirmed that all bulbs appear online in firewall and that all IPs are static and unchanging.
Confirmed signal strength for all bulbs - bulb with the lowest signal (laundry room bulb) gives me the least problems
Hey there @rytilahti, @bdraco, @sdb9696, mind taking a look at this issue as it has been labeled with an integration (tplink) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of tplink can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign tplinkRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
tplink documentation tplink source (message by IssueLinks)
Im experiencing the same issue with both my kasa k125 bulbs. I have 4 and they take turns dropping from home assistant but work perfectly fine from the kasa app.
I too have been experiencing issues with the KL125 bulb. since I went from 2024.10.0 to 2024.10.3. Long latency, sometimes minutes for the build to receive. Other times Home Assistant says the bulb and its' sensor is "unavailable", even though the bulb is connected to the network. Other times Home Assistant will show the state of the bulb as off, but it actually on.
Same problem here, have had this issue for a couple of months now. My KL125 bulbs as well as my KL400 light strip constantly appear disconnected on home assistant for seemingly no reason, becoming 'online' and 'offline' at random times for a random duration, despite being connected to their own wireless access point and ssid. The issue has remained even after switching to other access points, setting static addresses, and resetting the lights themselves.
It sounds like your event loop might be blocked or something also is causing the instability.
https://community.home-assistant.io/t/2024-5-tracking-down-instability-issues-caused-by-integrations/724441?u=bdraco
See the section on Sluggish performance or increased CPU usage
Capture a callgrind when the problem is happening and post it here. The call grind will only show traces of the source code so there is minimal privacy concerns about posting it (unless you are worried about someone knowing which integrations are running)
I can tell you that a fresh reboot does not fix the issue and when I attempt to use the lights the CPU spikes briefly to 100% and returns to it's normal 6 to 7% on my system. The Memory spikes from around 75% to around 95% and does not return to a baseline of 75%.
I have 4 KL125 with the same issue. Most of the time the unavailable is less than 10 minutes in HA but available on the Kasa app.
I have several KL125 bulbs with the same issue. They seem to not stay offline for too long (a minute or two) before they come back online in HA. Whole offline in HA they are still working through the app. They don't all go offline at the same time either, and seems to be random.
I also have a few of those KL125 and I experience the same issue
I can confirm there is a resolution to this issue. TPlink has a beta firmware available v1.0.6. You just have to submit a support request, get past the first level of technicians who will get you to an engineer who will make the firmware available. You must provide them the kasa account the bulbs are linked too, and the mac addresses of the bulbs as well. My bulbs (which were online/offline constantly) have now been connected for the last 10 hours solid.
Same problem with 3 KL125 bulbs, but TP-Link support denies that firmware v1.0.6 exists.
I got the same response. They claim they have no beta firmware available.
I got the same response. They claim they have no beta firmware available.
Thanks for posting. I was lucky to find this thread while these TP-Link bulbs were still in the return window, so after seeing TP-Link support is telling you the same thing the bulbs are going back.
Not the first problem I've had in the last couple of months with TP-Link products (bought 2 cameras that randomly die until power cycled). I'll be spending a bit more on other brands in the future and avoiding the TP-Link headache.
THIRDREALITY has some zigbee bulbs that I was looking at. Don't know how good they are, but everything else I've gotten from them has been really good.
Closing this issue as it’s likely due to local network issues with the OP, and recent posts are not constructive as they have no detail to assist other users.
As a network engineer it's a bit insulting to be told this is a network issue. It is also insulting to the many other users in this thread and others that are experiencing the same issue. Handwaving this away as networking issues is not constructive, but that's all I've gotten with the exception of one random claim of phantom firmware. As for useful data, I provided my entire networking setup at the beginning of the thread including signal strengths and IP configurations for all devices. At no point has anyone been able to point to something that is a "local network issue with the OP" as is claimed. If this is a network issue, at least say what you think might be causing it.
I have yet to see anyone take this issue seriously other than asking for logs and data then disappearing when those things manifest or blaming it on the useer. I like HA, but I'm not too impressed with the maintainers of the TP-Link integration at the moment.
I will remind you that this works with Google Home and out of the Kasa app but I use HA to get away from those things. This only appears to be failing from within HA. If HA is unable to work with KASA bulbs, just give up and admit it instead of blaming it on the users.
If you want something more constructive then I will provide more data. Just tell me what you need to see, PCAP logs, state tables, console logs, whatever I have access to I will provide. But I will be honestly surprised if anyone takes a serious look at it and I'll be told it's an event loop issue (still an HA issue if it is btw) or a nondescript network issue.
home-assistant_tplink_2025-01-05T22-15-17.493Z.log
| Filter entities | Filter states | Filter attributes |
|---|---|---|
| automation.bedroom_light_dimBedroom Light Dim | on | id: 1720681158223 last_triggered: 2024-10-16T08:13:19.062217+00:00 mode: single current: 0 friendly_name: Bedroom Light Dim |
| automation.bedroom_light_toggleBedroom Light Toggle | on | id: 1720681116064 last_triggered: 2024-10-26T09:02:25.805225+00:00 mode: single current: 0 friendly_name: Bedroom Light Toggle |
| automation.bedroom_lights_dimBedroom Lights Dim | on | id: 1720574954557 last_triggered: 2024-07-10T01:32:57.995303+00:00 mode: single current: 0 friendly_name: Bedroom Lights Dim |
| automation.bedroom_lights_dim_2Bedroom Lights Dim | on | id: 1720575038038 last_triggered: 2024-10-16T00:48:27.093520+00:00 mode: single current: 0 friendly_name: Bedroom Lights Dim |
| automation.bedroom_lights_toggleBedroom Lights Toggle | on | id: 1720566453288 last_triggered: 2024-10-17T08:48:12.050227+00:00 mode: single current: 0 friendly_name: Bedroom Lights Toggle |
| automation.button_bedroom_lights_offButton Bedroom Lights Off | on | id: 1713320681327 last_triggered: 2024-07-10T05:55:05.387678+00:00 mode: single current: 0 friendly_name: Button Bedroom Lights Off |
| automation.button_bedroom_night_lightButton Bedroom Night Light | on | id: 1713321574385 last_triggered: 2024-07-11T01:15:36.341611+00:00 mode: single current: 0 friendly_name: Button Bedroom Night Light |
| automation.button_toggle_bedroom_lightsButton Bedroom Lights On | on | id: 1713311323756 last_triggered: 2024-08-05T09:20:12.073220+00:00 mode: single current: 0 friendly_name: Button Bedroom Lights On |
| automation.kitchen_lights_buttonKitchen Lights Button | on | id: 1725917147053 last_triggered: 2024-09-21T21:53:25.948164+00:00 mode: single current: 0 friendly_name: Kitchen Lights Button |
| automation.kitchen_lights_toggleKitchen Lights Toggle | on | id: 1720671920502 last_triggered: 2024-10-04T18:36:24.341756+00:00 mode: single current: 0 friendly_name: Kitchen Lights Toggle |
| automation.laundry_light_toggleLaundry Light Toggle | on | id: 1720671958670 last_triggered: 2024-07-11T04:26:38.203565+00:00 mode: single current: 0 friendly_name: Laundry Light Toggle |
| automation.living_room_light_remoteOffice Lights Toggle | on | id: 1716673054297 last_triggered: 2024-12-23T04:02:29.730848+00:00 mode: single current: 0 friendly_name: Office Lights Toggle |
| automation.living_room_lights_offLiving Room Lights Off | on | id: 1716518739931 last_triggered: 2024-12-30T00:18:10.771288+00:00 mode: single current: 0 friendly_name: Living Room Lights Off |
| automation.living_room_lights_onLiving Room Lights On | on | id: 1716518700354 last_triggered: 2024-12-30T00:18:12.509071+00:00 mode: single current: 0 friendly_name: Living Room Lights On |
| automation.living_room_remote_1_offOffice Lights Dim | on | id: 1716673310527 last_triggered: 2024-10-15T03:04:06.885334+00:00 mode: single current: 0 friendly_name: Office Lights Dim |
| automation.office_light_dimOffice Light Dim | on | id: 1719610081894 last_triggered: 2024-08-20T07:21:24.923591+00:00 mode: single current: 0 friendly_name: Office Light Dim |
| automation.office_lights_dimOffice Lights Dim | on | id: 1720575080090 last_triggered: null mode: single current: 0 friendly_name: Office Lights Dim |
| automation.office_lights_toggleOffice Lights Toggle | on | id: 1720566402745 last_triggered: 2024-07-24T13:03:44.963611+00:00 mode: single current: 0 friendly_name: Office Lights Toggle |
| automation.toggle_offce_lightsToggle Offce Lights | on | id: 1719609317459 last_triggered: 2024-12-23T04:02:14.132204+00:00 mode: single current: 0 friendly_name: Toggle Offce Lights |
| light.bedroom_light_1Bedroom Light 1 | unavailable | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Bedroom Light 1 supported_features: 32 |
| light.bedroom_light_2Bedroom Light 2 | unavailable | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Bedroom Light 2 supported_features: 32 |
| light.bedroom_light_3Bedroom Light 3 | unavailable | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Bedroom Light 3 supported_features: 32 |
| light.bedroom_light_4Bedroom Light 4 | off | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs color_mode: null brightness: null color_temp_kelvin: null color_temp: null hs_color: null rgb_color: null xy_color: null friendly_name: Bedroom Light 4 supported_features: 32 |
| light.bedroom_lightsBedroom Lights | off | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs color_mode: null brightness: null color_temp_kelvin: null color_temp: null hs_color: null rgb_color: null xy_color: null entity_id: light.bedroom_light_1, light.bedroom_light_2, light.bedroom_light_3, light.bedroom_light_4 icon: mdi:lightbulb-group friendly_name: Bedroom Lights supported_features: 32 |
| light.kitchen_1 | unavailable | restored: true min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs supported_features: 32 |
| light.kitchen_2Kitchen 2 | unavailable | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Kitchen 2 supported_features: 32 |
| light.kitchen_lightsKitchen Lights | unavailable | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs icon: mdi:lightbulb-group friendly_name: Kitchen Lights supported_features: 32 |
| light.laundry_lightLaundry Light | off | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Laundry Light supported_features: 32 color_mode: null brightness: null color_temp_kelvin: null color_temp: null hs_color: null rgb_color: null xy_color: null |
| light.office_light_1Office Light 1 | on | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Office Light 1 supported_features: 32 color_mode: color_temp brightness: 255 color_temp_kelvin: 4000 color_temp: 250 hs_color: 26.812, 34.87 rgb_color: 255, 206, 166 xy_color: 0.42, 0.365 |
| light.office_light_2Office Light 2 | unavailable | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Office Light 2 supported_features: 32 |
| light.office_light_3Office Light 3 | on | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs color_mode: color_temp brightness: 255 color_temp_kelvin: 4000 color_temp: 250 hs_color: 26.812, 34.87 rgb_color: 255, 206, 166 xy_color: 0.42, 0.365 friendly_name: Office Light 3 supported_features: 32 |
| light.office_light_4Office Light 4 | unavailable | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Office Light 4 supported_features: 32 |
| light.office_lightsOffice Lights | on | min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs color_mode: color_temp brightness: 255 color_temp_kelvin: 4000 color_temp: 250 hs_color: 26.812, 34.87 rgb_color: 255, 206, 166 xy_color: 0.42, 0.365 entity_id: light.office_light_1, light.office_light_2, light.office_light_3, light.office_light_4 icon: mdi:lightbulb-group friendly_name: Office Lights supported_features: 32 |
| scene.bedroom_lights_dimBedroom Lights Dim | 2024-09-27T04:17:59.357919+00:00 | entity_id: light.bedroom_light_1, light.bedroom_light_2, light.bedroom_light_3, light.bedroom_light_4 id: 1713145604624 icon: mdi:lightbulb-on-30 friendly_name: Bedroom Lights Dim |
| scene.bedroom_lights_offBedroom Lights Off | 2024-04-16T11:30:35.855590+00:00 | entity_id: light.bedroom_light_1, sensor.bedroom_light_1_current_consumption, sensor.bedroom_light_1_today_s_consumption, sensor.bedroom_light_1_total_consumption, light.bedroom_light_2, light.bedroom_light_3, light.bedroom_light_4 id: 1713143780456 icon: mdi:lightbulb-outline friendly_name: Bedroom Lights Off |
| scene.bedroom_lights_onBedroom Lights On | 2024-04-15T03:55:13.285510+00:00 | entity_id: light.bedroom_light_1, light.bedroom_light_2, light.bedroom_light_3, light.bedroom_light_4 id: 1713144012258 icon: mdi:lightbulb-on-outline friendly_name: Bedroom Lights On |
| scene.office_lights_dimOffice Lights Dim | 2024-10-18T03:11:44.467145+00:00 | entity_id: light.office_light_1, light.office_light_2, light.office_light_3, light.office_light_4 id: 1713144931470 icon: mdi:lightbulb-on-30 friendly_name: Office Lights Dim |
| scene.office_lights_offOffice Lights Off | 2024-12-12T08:58:38.327292+00:00 | entity_id: light.office_light_1, light.office_light_2, light.office_light_3, light.office_light_4 id: 1713144624052 icon: mdi:lightbulb-outline friendly_name: Office Lights Off |
| scene.office_lights_onOffice Lights On | 2024-12-12T08:58:20.249110+00:00 | entity_id: light.office_light_1, light.office_light_2, light.office_light_3, light.office_light_4 id: 1713144685537 icon: mdi:lightbulb-on-outline friendly_name: Office Lights On |
| select.bedroom_light_1_light_presetBedroom Light 1 Light preset | unavailable | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Bedroom Light 1 Light preset |
| select.bedroom_light_2_light_presetBedroom Light 2 Light preset | unavailable | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Bedroom Light 2 Light preset |
| select.bedroom_light_3_light_presetBedroom Light 3 Light preset | unavailable | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Bedroom Light 3 Light preset |
| select.bedroom_light_4_light_presetBedroom Light 4 Light preset | Not set | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Bedroom Light 4 Light preset |
| select.kitchen_1_light_presetLight preset | unavailable | restored: true options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Light preset supported_features: 0 |
| select.kitchen_2_light_presetKitchen 2 Light preset | unavailable | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Kitchen 2 Light preset |
| select.laundry_light_light_presetLaundry Light Light preset | Not set | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Laundry Light Light preset |
| select.office_light_1_light_presetOffice Light 1 Light preset | Not set | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Office Light 1 Light preset |
| select.office_light_2_light_presetOffice Light 2 Light preset | unavailable | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Office Light 2 Light preset |
| select.office_light_3_light_presetOffice Light 3 Light preset | Not set | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Office Light 3 Light preset |
| select.office_light_4_light_presetOffice Light 4 Light preset | unavailable | options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Office Light 4 Light preset |
| sensor.bedroom_light_1_signal_strengthBedroom Light 1 Signal strength | unavailable | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Bedroom Light 1 Signal strength |
| sensor.bedroom_light_1_this_month_s_consumptionBedroom Light 1 This month's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 1 This month's consumption |
| sensor.bedroom_light_1_today_s_consumptionBedroom Light 1 Today's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 1 Today's consumption |
| sensor.bedroom_light_1_total_consumptionBedroom Light 1 Total consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 1 Total consumption |
| sensor.bedroom_light_2_current_consumptionBedroom Light 2 Current consumption | unavailable | state_class: measurement unit_of_measurement: W device_class: power friendly_name: Bedroom Light 2 Current consumption |
| sensor.bedroom_light_2_signal_strengthBedroom Light 2 Signal strength | unavailable | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Bedroom Light 2 Signal strength |
| sensor.bedroom_light_2_this_month_s_consumptionBedroom Light 2 This month's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 2 This month's consumption |
| sensor.bedroom_light_2_today_s_consumptionBedroom Light 2 Today's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 2 Today's consumption |
| sensor.bedroom_light_2_total_consumptionBedroom Light 2 Total consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 2 Total consumption |
| sensor.bedroom_light_3_current_consumptionBedroom Light 3 Current consumption | unavailable | state_class: measurement unit_of_measurement: W device_class: power friendly_name: Bedroom Light 3 Current consumption |
| sensor.bedroom_light_3_signal_strengthBedroom Light 3 Signal strength | unavailable | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Bedroom Light 3 Signal strength |
| sensor.bedroom_light_3_this_month_s_consumptionBedroom Light 3 This month's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 3 This month's consumption |
| sensor.bedroom_light_3_today_s_consumptionBedroom Light 3 Today's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 3 Today's consumption |
| sensor.bedroom_light_3_total_consumptionBedroom Light 3 Total consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 3 Total consumption |
| sensor.bedroom_light_4_current_consumptionBedroom Light 4 Current consumption | 0.0 | state_class: measurement unit_of_measurement: W device_class: power friendly_name: Bedroom Light 4 Current consumption |
| sensor.bedroom_light_4_signal_strengthBedroom Light 4 Signal strength | -57 | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Bedroom Light 4 Signal strength |
| sensor.bedroom_light_4_this_month_s_consumptionBedroom Light 4 This month's consumption | 0.024 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 4 This month's consumption |
| sensor.bedroom_light_4_today_s_consumptionBedroom Light 4 Today's consumption | 0.0 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 4 Today's consumption |
| sensor.bedroom_light_4_total_consumptionBedroom Light 4 Total consumption | 0.0 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 4 Total consumption |
| sensor.laundry_light_current_consumptionLaundry Light Current consumption | 0.0 | state_class: measurement unit_of_measurement: W device_class: power friendly_name: Laundry Light Current consumption |
| sensor.laundry_light_signal_strengthLaundry Light Signal strength | -68 | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Laundry Light Signal strength |
| sensor.laundry_light_this_month_s_consumptionLaundry Light This month's consumption | 0.004 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Laundry Light This month's consumption |
| sensor.laundry_light_today_s_consumptionLaundry Light Today's consumption | 0.0 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Laundry Light Today's consumption |
| sensor.laundry_light_total_consumptionLaundry Light Total consumption | 0.726 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Laundry Light Total consumption |
| sensor.office_light_1_current_consumptionOffice Light 1 Current consumption | 10.8 | state_class: measurement unit_of_measurement: W device_class: power friendly_name: Office Light 1 Current consumption |
| sensor.office_light_1_signal_strengthOffice Light 1 Signal strength | -56 | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Office Light 1 Signal strength |
| sensor.office_light_1_this_month_s_consumptionOffice Light 1 This month's consumption | 0.0 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 1 This month's consumption |
| sensor.office_light_1_today_s_consumptionOffice Light 1 Today's consumption | 0.0 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 1 Today's consumption |
| sensor.office_light_1_total_consumptionOffice Light 1 Total consumption | 1.193 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 1 Total consumption |
| sensor.office_light_2_current_consumptionOffice Light 2 Current consumption | unavailable | state_class: measurement unit_of_measurement: W device_class: power friendly_name: Office Light 2 Current consumption |
| sensor.office_light_2_signal_strengthOffice Light 2 Signal strength | unavailable | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Office Light 2 Signal strength |
| sensor.office_light_2_this_month_s_consumptionOffice Light 2 This month's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 2 This month's consumption |
| sensor.office_light_2_today_s_consumptionOffice Light 2 Today's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 2 Today's consumption |
| sensor.office_light_2_total_consumptionOffice Light 2 Total consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 2 Total consumption |
| sensor.office_light_3_current_consumptionOffice Light 3 Current consumption | 10.8 | state_class: measurement unit_of_measurement: W device_class: power friendly_name: Office Light 3 Current consumption |
| sensor.office_light_3_signal_strengthOffice Light 3 Signal strength | -52 | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Office Light 3 Signal strength |
| sensor.office_light_3_this_month_s_consumptionOffice Light 3 This month's consumption | 0.58 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 3 This month's consumption |
| sensor.office_light_3_today_s_consumptionOffice Light 3 Today's consumption | 0.0 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 3 Today's consumption |
| sensor.office_light_3_total_consumptionOffice Light 3 Total consumption | 0.0 | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 3 Total consumption |
| sensor.office_light_4_current_consumptionOffice Light 4 Current consumption | unavailable | state_class: measurement unit_of_measurement: W device_class: power friendly_name: Office Light 4 Current consumption |
| sensor.office_light_4_signal_strengthOffice Light 4 Signal strength | unavailable | state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Office Light 4 Signal strength |
| sensor.office_light_4_this_month_s_consumptionOffice Light 4 This month's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 4 This month's consumption |
| sensor.office_light_4_today_s_consumptionOffice Light 4 Today's consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 4 Today's consumption |
| sensor.office_light_4_total_consumptionOffice Light 4 Total consumption | unavailable | state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 4 Total consumption |
| sensor.third_reality_inc_3rss009z_batteryLight Toggle Switch - Living Room Battery | 38 | state_class: measurement battery_voltage: 2.6 unit_of_measurement: % device_class: battery friendly_name: Light Toggle Switch - Living Room Battery |
| switch.third_reality_inc_3rss009z_switchLiving Room Light Switch | on | friendly_name: Living Room Light Switch |
| update.third_reality_inc_3rss009z_firmwareLight Toggle Switch - Living Room Firmware | off | auto_update: false display_precision: 2 installed_version: 0x0000001e in_progress: false latest_version: 0x0000001e release_summary: null release_url: null skipped_version: null title: null update_percentage: null device_class: firmware entity_picture: https://brands.home-assistant.io/_/zha/icon.png friendly_name: Light Toggle Switch - Living Room Firmware supported_features: 23 |
Filter entities light Filter states Filter attributes automation.bedroom_light_dim Bedroom Light Dim on id: 1720681158223 last_triggered: 2024-10-16T08:13:19.062217+00:00 mode: single current: 0 friendly_name: Bedroom Light Dim automation.bedroom_light_toggle Bedroom Light Toggle on id: 1720681116064 last_triggered: 2024-10-26T09:02:25.805225+00:00 mode: single current: 0 friendly_name: Bedroom Light Toggle automation.bedroom_lights_dim Bedroom Lights Dim on id: 1720574954557 last_triggered: 2024-07-10T01:32:57.995303+00:00 mode: single current: 0 friendly_name: Bedroom Lights Dim automation.bedroom_lights_dim_2 Bedroom Lights Dim on id: 1720575038038 last_triggered: 2024-10-16T00:48:27.093520+00:00 mode: single current: 0 friendly_name: Bedroom Lights Dim automation.bedroom_lights_toggle Bedroom Lights Toggle on id: 1720566453288 last_triggered: 2024-10-17T08:48:12.050227+00:00 mode: single current: 0 friendly_name: Bedroom Lights Toggle automation.button_bedroom_lights_off Button Bedroom Lights Off on id: 1713320681327 last_triggered: 2024-07-10T05:55:05.387678+00:00 mode: single current: 0 friendly_name: Button Bedroom Lights Off automation.button_bedroom_night_light Button Bedroom Night Light on id: 1713321574385 last_triggered: 2024-07-11T01:15:36.341611+00:00 mode: single current: 0 friendly_name: Button Bedroom Night Light automation.button_toggle_bedroom_lights Button Bedroom Lights On on id: 1713311323756 last_triggered: 2024-08-05T09:20:12.073220+00:00 mode: single current: 0 friendly_name: Button Bedroom Lights On automation.kitchen_lights_button Kitchen Lights Button on id: 1725917147053 last_triggered: 2024-09-21T21:53:25.948164+00:00 mode: single current: 0 friendly_name: Kitchen Lights Button automation.kitchen_lights_toggle Kitchen Lights Toggle on id: 1720671920502 last_triggered: 2024-10-04T18:36:24.341756+00:00 mode: single current: 0 friendly_name: Kitchen Lights Toggle automation.laundry_light_toggle Laundry Light Toggle on id: 1720671958670 last_triggered: 2024-07-11T04:26:38.203565+00:00 mode: single current: 0 friendly_name: Laundry Light Toggle automation.living_room_light_remote Office Lights Toggle on id: 1716673054297 last_triggered: 2024-12-23T04:02:29.730848+00:00 mode: single current: 0 friendly_name: Office Lights Toggle automation.living_room_lights_off Living Room Lights Off on id: 1716518739931 last_triggered: 2024-12-30T00:18:10.771288+00:00 mode: single current: 0 friendly_name: Living Room Lights Off automation.living_room_lights_on Living Room Lights On on id: 1716518700354 last_triggered: 2024-12-30T00:18:12.509071+00:00 mode: single current: 0 friendly_name: Living Room Lights On automation.living_room_remote_1_off Office Lights Dim on id: 1716673310527 last_triggered: 2024-10-15T03:04:06.885334+00:00 mode: single current: 0 friendly_name: Office Lights Dim automation.office_light_dim Office Light Dim on id: 1719610081894 last_triggered: 2024-08-20T07:21:24.923591+00:00 mode: single current: 0 friendly_name: Office Light Dim automation.office_lights_dim Office Lights Dim on id: 1720575080090 last_triggered: null mode: single current: 0 friendly_name: Office Lights Dim automation.office_lights_toggle Office Lights Toggle on id: 1720566402745 last_triggered: 2024-07-24T13:03:44.963611+00:00 mode: single current: 0 friendly_name: Office Lights Toggle automation.toggle_offce_lights Toggle Offce Lights on id: 1719609317459 last_triggered: 2024-12-23T04:02:14.132204+00:00 mode: single current: 0 friendly_name: Toggle Offce Lights light.bedroom_light_1 Bedroom Light 1 unavailable min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Bedroom Light 1 supported_features: 32 light.bedroom_light_2 Bedroom Light 2 unavailable min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Bedroom Light 2 supported_features: 32 light.bedroom_light_3 Bedroom Light 3 unavailable min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Bedroom Light 3 supported_features: 32 light.bedroom_light_4 Bedroom Light 4 off min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs color_mode: null brightness: null color_temp_kelvin: null color_temp: null hs_color: null rgb_color: null xy_color: null friendly_name: Bedroom Light 4 supported_features: 32 light.bedroom_lights Bedroom Lights off min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs color_mode: null brightness: null color_temp_kelvin: null color_temp: null hs_color: null rgb_color: null xy_color: null entity_id: light.bedroom_light_1, light.bedroom_light_2, light.bedroom_light_3, light.bedroom_light_4 icon: mdi:lightbulb-group friendly_name: Bedroom Lights supported_features: 32 light.kitchen_1 unavailable restored: true min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs supported_features: 32 light.kitchen_2 Kitchen 2 unavailable min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Kitchen 2 supported_features: 32 light.kitchen_lights Kitchen Lights unavailable min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs icon: mdi:lightbulb-group friendly_name: Kitchen Lights supported_features: 32 light.laundry_light Laundry Light off min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Laundry Light supported_features: 32 color_mode: null brightness: null color_temp_kelvin: null color_temp: null hs_color: null rgb_color: null xy_color: null light.office_light_1 Office Light 1 on min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Office Light 1 supported_features: 32 color_mode: color_temp brightness: 255 color_temp_kelvin: 4000 color_temp: 250 hs_color: 26.812, 34.87 rgb_color: 255, 206, 166 xy_color: 0.42, 0.365 light.office_light_2 Office Light 2 unavailable min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Office Light 2 supported_features: 32 light.office_light_3 Office Light 3 on min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs color_mode: color_temp brightness: 255 color_temp_kelvin: 4000 color_temp: 250 hs_color: 26.812, 34.87 rgb_color: 255, 206, 166 xy_color: 0.42, 0.365 friendly_name: Office Light 3 supported_features: 32 light.office_light_4 Office Light 4 unavailable min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs friendly_name: Office Light 4 supported_features: 32 light.office_lights Office Lights on min_color_temp_kelvin: 2500 max_color_temp_kelvin: 6500 min_mireds: 153 max_mireds: 400 supported_color_modes: color_temp, hs color_mode: color_temp brightness: 255 color_temp_kelvin: 4000 color_temp: 250 hs_color: 26.812, 34.87 rgb_color: 255, 206, 166 xy_color: 0.42, 0.365 entity_id: light.office_light_1, light.office_light_2, light.office_light_3, light.office_light_4 icon: mdi:lightbulb-group friendly_name: Office Lights supported_features: 32 scene.bedroom_lights_dim Bedroom Lights Dim 2024-09-27T04:17:59.357919+00:00 entity_id: light.bedroom_light_1, light.bedroom_light_2, light.bedroom_light_3, light.bedroom_light_4 id: 1713145604624 icon: mdi:lightbulb-on-30 friendly_name: Bedroom Lights Dim scene.bedroom_lights_off Bedroom Lights Off 2024-04-16T11:30:35.855590+00:00 entity_id: light.bedroom_light_1, sensor.bedroom_light_1_current_consumption, sensor.bedroom_light_1_today_s_consumption, sensor.bedroom_light_1_total_consumption, light.bedroom_light_2, light.bedroom_light_3, light.bedroom_light_4 id: 1713143780456 icon: mdi:lightbulb-outline friendly_name: Bedroom Lights Off scene.bedroom_lights_on Bedroom Lights On 2024-04-15T03:55:13.285510+00:00 entity_id: light.bedroom_light_1, light.bedroom_light_2, light.bedroom_light_3, light.bedroom_light_4 id: 1713144012258 icon: mdi:lightbulb-on-outline friendly_name: Bedroom Lights On scene.office_lights_dim Office Lights Dim 2024-10-18T03:11:44.467145+00:00 entity_id: light.office_light_1, light.office_light_2, light.office_light_3, light.office_light_4 id: 1713144931470 icon: mdi:lightbulb-on-30 friendly_name: Office Lights Dim scene.office_lights_off Office Lights Off 2024-12-12T08:58:38.327292+00:00 entity_id: light.office_light_1, light.office_light_2, light.office_light_3, light.office_light_4 id: 1713144624052 icon: mdi:lightbulb-outline friendly_name: Office Lights Off scene.office_lights_on Office Lights On 2024-12-12T08:58:20.249110+00:00 entity_id: light.office_light_1, light.office_light_2, light.office_light_3, light.office_light_4 id: 1713144685537 icon: mdi:lightbulb-on-outline friendly_name: Office Lights On select.bedroom_light_1_light_preset Bedroom Light 1 Light preset unavailable options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Bedroom Light 1 Light preset select.bedroom_light_2_light_preset Bedroom Light 2 Light preset unavailable options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Bedroom Light 2 Light preset select.bedroom_light_3_light_preset Bedroom Light 3 Light preset unavailable options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Bedroom Light 3 Light preset select.bedroom_light_4_light_preset Bedroom Light 4 Light preset Not set options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Bedroom Light 4 Light preset select.kitchen_1_light_preset Light preset unavailable restored: true options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Light preset supported_features: 0 select.kitchen_2_light_preset Kitchen 2 Light preset unavailable options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Kitchen 2 Light preset select.laundry_light_light_preset Laundry Light Light preset Not set options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Laundry Light Light preset select.office_light_1_light_preset Office Light 1 Light preset Not set options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Office Light 1 Light preset select.office_light_2_light_preset Office Light 2 Light preset unavailable options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Office Light 2 Light preset select.office_light_3_light_preset Office Light 3 Light preset Not set options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Office Light 3 Light preset select.office_light_4_light_preset Office Light 4 Light preset unavailable options: Not set, Light preset 1, Light preset 2, Light preset 3, Light preset 4 friendly_name: Office Light 4 Light preset sensor.bedroom_light_1_signal_strength Bedroom Light 1 Signal strength unavailable state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Bedroom Light 1 Signal strength sensor.bedroom_light_1_this_month_s_consumption Bedroom Light 1 This month's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 1 This month's consumption sensor.bedroom_light_1_today_s_consumption Bedroom Light 1 Today's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 1 Today's consumption sensor.bedroom_light_1_total_consumption Bedroom Light 1 Total consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 1 Total consumption sensor.bedroom_light_2_current_consumption Bedroom Light 2 Current consumption unavailable state_class: measurement unit_of_measurement: W device_class: power friendly_name: Bedroom Light 2 Current consumption sensor.bedroom_light_2_signal_strength Bedroom Light 2 Signal strength unavailable state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Bedroom Light 2 Signal strength sensor.bedroom_light_2_this_month_s_consumption Bedroom Light 2 This month's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 2 This month's consumption sensor.bedroom_light_2_today_s_consumption Bedroom Light 2 Today's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 2 Today's consumption sensor.bedroom_light_2_total_consumption Bedroom Light 2 Total consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 2 Total consumption sensor.bedroom_light_3_current_consumption Bedroom Light 3 Current consumption unavailable state_class: measurement unit_of_measurement: W device_class: power friendly_name: Bedroom Light 3 Current consumption sensor.bedroom_light_3_signal_strength Bedroom Light 3 Signal strength unavailable state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Bedroom Light 3 Signal strength sensor.bedroom_light_3_this_month_s_consumption Bedroom Light 3 This month's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 3 This month's consumption sensor.bedroom_light_3_today_s_consumption Bedroom Light 3 Today's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 3 Today's consumption sensor.bedroom_light_3_total_consumption Bedroom Light 3 Total consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 3 Total consumption sensor.bedroom_light_4_current_consumption Bedroom Light 4 Current consumption 0.0 state_class: measurement unit_of_measurement: W device_class: power friendly_name: Bedroom Light 4 Current consumption sensor.bedroom_light_4_signal_strength Bedroom Light 4 Signal strength -57 state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Bedroom Light 4 Signal strength sensor.bedroom_light_4_this_month_s_consumption Bedroom Light 4 This month's consumption 0.024 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 4 This month's consumption sensor.bedroom_light_4_today_s_consumption Bedroom Light 4 Today's consumption 0.0 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 4 Today's consumption sensor.bedroom_light_4_total_consumption Bedroom Light 4 Total consumption 0.0 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Bedroom Light 4 Total consumption sensor.laundry_light_current_consumption Laundry Light Current consumption 0.0 state_class: measurement unit_of_measurement: W device_class: power friendly_name: Laundry Light Current consumption sensor.laundry_light_signal_strength Laundry Light Signal strength -68 state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Laundry Light Signal strength sensor.laundry_light_this_month_s_consumption Laundry Light This month's consumption 0.004 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Laundry Light This month's consumption sensor.laundry_light_today_s_consumption Laundry Light Today's consumption 0.0 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Laundry Light Today's consumption sensor.laundry_light_total_consumption Laundry Light Total consumption 0.726 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Laundry Light Total consumption sensor.office_light_1_current_consumption Office Light 1 Current consumption 10.8 state_class: measurement unit_of_measurement: W device_class: power friendly_name: Office Light 1 Current consumption sensor.office_light_1_signal_strength Office Light 1 Signal strength -56 state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Office Light 1 Signal strength sensor.office_light_1_this_month_s_consumption Office Light 1 This month's consumption 0.0 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 1 This month's consumption sensor.office_light_1_today_s_consumption Office Light 1 Today's consumption 0.0 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 1 Today's consumption sensor.office_light_1_total_consumption Office Light 1 Total consumption 1.193 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 1 Total consumption sensor.office_light_2_current_consumption Office Light 2 Current consumption unavailable state_class: measurement unit_of_measurement: W device_class: power friendly_name: Office Light 2 Current consumption sensor.office_light_2_signal_strength Office Light 2 Signal strength unavailable state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Office Light 2 Signal strength sensor.office_light_2_this_month_s_consumption Office Light 2 This month's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 2 This month's consumption sensor.office_light_2_today_s_consumption Office Light 2 Today's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 2 Today's consumption sensor.office_light_2_total_consumption Office Light 2 Total consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 2 Total consumption sensor.office_light_3_current_consumption Office Light 3 Current consumption 10.8 state_class: measurement unit_of_measurement: W device_class: power friendly_name: Office Light 3 Current consumption sensor.office_light_3_signal_strength Office Light 3 Signal strength -52 state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Office Light 3 Signal strength sensor.office_light_3_this_month_s_consumption Office Light 3 This month's consumption 0.58 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 3 This month's consumption sensor.office_light_3_today_s_consumption Office Light 3 Today's consumption 0.0 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 3 Today's consumption sensor.office_light_3_total_consumption Office Light 3 Total consumption 0.0 state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 3 Total consumption sensor.office_light_4_current_consumption Office Light 4 Current consumption unavailable state_class: measurement unit_of_measurement: W device_class: power friendly_name: Office Light 4 Current consumption sensor.office_light_4_signal_strength Office Light 4 Signal strength unavailable state_class: measurement unit_of_measurement: dBm device_class: signal_strength friendly_name: Office Light 4 Signal strength sensor.office_light_4_this_month_s_consumption Office Light 4 This month's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 4 This month's consumption sensor.office_light_4_today_s_consumption Office Light 4 Today's consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 4 Today's consumption sensor.office_light_4_total_consumption Office Light 4 Total consumption unavailable state_class: total_increasing unit_of_measurement: kWh device_class: energy friendly_name: Office Light 4 Total consumption sensor.third_reality_inc_3rss009z_battery Light Toggle Switch - Living Room Battery 38 state_class: measurement battery_voltage: 2.6 unit_of_measurement: % device_class: battery friendly_name: Light Toggle Switch - Living Room Battery switch.third_reality_inc_3rss009z_switch Living Room Light Switch on friendly_name: Living Room Light Switch update.third_reality_inc_3rss009z_firmware Light Toggle Switch - Living Room Firmware off auto_update: false display_precision: 2 installed_version: 0x0000001e in_progress: false latest_version: 0x0000001e
release_summary: null release_url: null skipped_version: null title: null update_percentage: null device_class: firmware entity_picture: https://brands.home-assistant.io/_/zha/icon.png friendly_name: Light Toggle Switch - Living Room Firmware supported_features: 23
PCAP logs - the one from 4:36PM has a couple of triggers by google home for lights that show offline in HA.
Closing this issue as it’s likely due to local network issues with the OP, and recent posts are not constructive as they have no detail to assist other users.
Please see my "constructive" updates then instead of just closing this and forgetting about it. It's clear from looking at the plethora of open issues around TP-Link that many users are having issues that are similar. Closing this as "Completed" is a bit disingenuous.
If you want something more constructive then I will provide more data. Just tell me what you need to see, PCAP logs, state tables, console logs, whatever I have access to I will provide.
Please post the callgrind file that was requested above in https://github.com/home-assistant/core/issues/128677#issuecomment-2448786174
Also please enable asyncio debug. See the section Enabling asyncio debug mode at run time (preferred) in the linked post in the above comment
Closing this issue as it’s likely due to local network issues with the OP, and recent posts are not constructive as they have no detail to assist other users.
I understand closing this because (IMO) it isn't an integration issue, but at least in my case it is definitely not a local network issue either.
Some detail for other users: I have 3 bulbs in the same ceiling fixture that are controlled with with the same scenes. They've been so unreliable so I've added wait times and repetitive direct device controls to the automations. Even with all that redundancy any one of the three bulbs can randomly stop responding leaving one bulb lit after the other two turn off. A few seconds later that bulbs starts responding again. I was just getting to the point of examining the logs when I came across this thread.
I appreciate that due to to the comments posted here I didn't have to waste any more time trying to resolve an issue that requires a fix from TP-Link.
2025-01-03 23:51:21.836 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.19 data: Unable to query the device 10.1.11.19:9999:
2025-01-03 23:51:58.406 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.19 data: Unable to query the device 10.1.11.19:9999:
2025-01-03 23:52:45.408 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.14 data: Unable to query the device 10.1.11.14:9999:
2025-01-03 23:52:56.163 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.19 data: Unable to connect to the device: 10.1.11.19:9999:
2025-01-03 23:53:51.639 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.19 data: Unable to query the device 10.1.11.19:9999:
2025-01-03 23:54:43.784 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.14 data: Unable to query the device 10.1.11.14:9999:
2025-01-03 23:54:48.901 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.19 data: Unable to query the device 10.1.11.19:9999:
2025-01-03 23:55:23.923 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 10.1.11.19 data: Unable to query the device 10.1.11.19:9999:
Looks like it can't establish a connection or is timing out:
I'd try patching the xortransport to improve the logging a bit, and try manually patching the timeout to be higher
diff --git a/kasa/transports/xortransport.py b/kasa/transports/xortransport.py
index 77a232f..4ac4aa0 100644
--- a/kasa/transports/xortransport.py
+++ b/kasa/transports/xortransport.py
@@ -159,6 +159,12 @@ class XorTransport(BaseTransport):
assert self.writer is not None # noqa: S101
async with asyncio_timeout(self._timeout):
return await self._execute_send(request)
+ except TimeoutError as ex:
+ await self.reset()
+ raise _RetryableError(
+ f"Timeout after {self._timeout} seconds sending request to the device"
+ f" {self._host}:{self._port}: {ex}"
+ ) from ex
except Exception as ex:
await self.reset()
raise _RetryableError(
It does look like your event loop is being blocked for a bit by the assist pipeline. https://github.com/home-assistant/core/pull/130910 should fix that, but I haven't had time to finish that PR.
Looks like your system is being overloaded with tasks
It looks like connect is also failing for the tplink xortransport
callgrind and cprof with triggers.zip
Here another callgrind with triggers to the lights
That one is timing out connecting as well
So its likely either:
- the event loop being blocked from assist pipeline causing the connect to reach the timeout and give up because it can't get enough run time to complete the connection
- the device is offline
- a network issue
They will all present the same
If its 1, fixing the event loop blockage or increasing the timeout will likely resolve the issue
https://github.com/python-kasa/python-kasa/pull/1424/files will improve the error reporting on timeout
My apologies @welborn, when I saw all the recent posts about returning tplink devices and looking at alternatives, I figured there was no more debugging options to be discussed. Mea culpa.
I've tweaked @bdraco's PR to give the devices a second to backoff on timeout, which could help the retries to succeed. This would prevent them going into the unavailable state if it subsequently succeeds. If you are running HAOS you can test this with the instructions in the following gist. (will need to be on the latest HA version)
Regarding the pcaps I don't see any traffic from HA to 10.1.11.19 or 10.1.11.14, only some tls connections to external AWS servers. Maybe try to run this for longer with a filter on those IPs? You mention google home also connecting to the lights; do you know how this works? Is something connecting locally or is it via the cloud? Also if you do provide more pcap what is the HA ip address?
To enable debug logging from startup please update your configuration.yaml as follows:
logger:
default: warning
logs:
homeassistant.components.tplink: debug
kasa: debug
The way the logging works in HA is that if a device fails to update, an error message is logged once and not again for that device until an update subsequently succeeds. When we have debug logging enabled from startup with about 10 mins of logs we should be able to see how long it takes for the device to succeed after erroring and then how long before erroring again. (That's if the backoff fix doesn't work.)