gurumitts / pylutron-caseta

Apache License 2.0
157 stars 98 forks source link

Feature Request - Adding support for PowPak0-10V Dimmer #165

Closed yoavzuri closed 4 months ago

yoavzuri commented 5 months ago

I'm using Lutron RA2 Select system with PowPak0-10V dimmer.

Adding my system to Home Assistant ignored those 0-10V dimmers.

More debug information is available in this HA ticket: https://github.com/home-assistant/core/issues/118698

Device documentation link: https://www.lutron.com/TechnicalDocumentLibrary/RF_Dimming_Module_with_0-10_Spec.pdf

Modifying init.py, adding "PowPak0-10V" allowed me to add all dimmers properly to HA.

Code snippet:

`from typing import Optional

from .messages import Response, ResponseStatus

_LEAP_DEVICE_TYPES = { "light": [ "WallDimmer", "PlugInDimmer", "InLineDimmer", "SunnataDimmer", "TempInWallPaddleDimmer", "WallDimmerWithPreset", "Dimmed", "SpectrumTune", # Ketra lamps "DivaSmartDimmer", "WhiteTune", # Lumaris Tape Light "PowPak0-10V", ],`

I've modified this manually inside the HA container.

Please let me know if any further information is needed for verification.

Thank you