#TP link L535 is not integrable in the energy tab.

1 messages · Page 1 of 1 (latest)

knotty meadow
#

Hi, I tried to integrate the power consumption of the L535 light bulbs into HA, but the data value power consumption is visible in the TAPO app, but HA does not recognize it during the integration. If I check the diagnostic JSON for the entity I can see the following data: power_usage": {
"today": 0,
"past7": 348,
"past30": 723
},

lethal turret
#

Does the integration provide an energy sensor?

knotty meadow
#

no it doesn't

#

do i have to create one manually for this data?

lethal turret
#

Does it have a power sensor?

#

What sensors does it give you?

knotty meadow
#

Cloud connection
Overheated
Signal level

#

Device time

#

signal strength

#

SSID

#

Light on and off

#

Smooth off/ Smooth on

lethal turret
#

well if there's nothing related to power/energy at all I guess there's nothing HA can really do.

#

you could try a feature request to see if it could be exposed to HA

knotty meadow
#

I can see power consumption in the diagnostic file from HA

#

"get_on_off_gradually_info": {
"on_state": {
"duration": 2,
"enable": false,
"max_duration": 60
},
"off_state": {
"duration": 2,
"enable": false,
"max_duration": 60
}
},
"get_device_time": {
"time_diff": -420,
"timestamp": 1731363951,
"region": "America/Denver"
},
"get_device_usage": {
"time_usage": {
"today": 0,
"past7": 2840,
"past30": 6074
},
"power_usage": {
"today": 0,
"past7": 348,
"past30": 723
},
"saved_power": {
"today": 0,
"past7": 2492,
"past30": 5351
}

#

Doesn't that mean it is accessible from HA?

lethal turret
#

I guess. It needs to be a sensor to be usable though

#

you're sure there's not a disabled one?

knotty meadow
#

Yes, I have checked that there aren't any power-related disabled sensors ... it's puzzling. Maybe this is not a real sensor but just a calculated value

lethal turret
#

strange

urban depot
#

Hello, I'm joining this conversation as I have the same problem. As of today it seems not possible to integrate the energy in HA as the get_device_usage is not parsed by the python-kasa used by the tp-link. I'm starting trying to contribute to the library, I'll keep you updated if I'll manage to do so