bramstroker / homeassistant-powercalc

Custom component to calculate estimated power consumption of lights and other appliances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Tuya Lonsonho Switch

danielgomezrico opened this issue · comments

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

I dont see Lonsonho Tuya as a device on the library

https://www.aliexpress.com/item/1005003012298844.html?spm=a2g0o.order_list.order_list_main.11.35761802C1naAS

Describe the solution you'd like

I would love to have it automatically integrated, their devices are cool

Describe alternatives you've considered

Adding it manually :(

Additional context

👀

Hi, the issue tracker is not meant to request light profiles. Only for actual issues with the integration.
Please see: https://homeassistant-powercalc.readthedocs.io/en/latest/troubleshooting/faq.html#my-device-is-not-supported-what-can-i-do.
Also for the device you mentioned this cannot be included into the library as it's only a zigbee dimmer. The actual power consumption depends on the light connected to the dimmer, that can be hundreds of thousand different and we cannot know that.
That being said you can just measure it yourself using the measure tool and than include the power profile in your own installation.
See for instructions. https://homeassistant-powercalc.readthedocs.io/en/latest/contributing/measure.html
You can put the measured profiles in config/powercalc-custom-models directory.

got it, thanks for answering