Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support config params for XT5 and light fixes #1375

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Nyaran
Copy link

@Nyaran Nyaran commented Apr 1, 2024

feat: Support configs for XT5

  • Network indicator [LED]
  • Vibration [XToggleNum]
  • On/Off/Preview sound and light effects [XT5Select]
  • On/Off state indicator (color and position) [XT5LightStatusLight]

Also, two fixes:

  • fix: Fix XT5Light warning [(<class 'custom_components.sonoff.light.XT5Light'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3
  • fix: Fix XLightL1 incomplete statement

 - Network indicator [LED]
 - Vibration [XToggleNum]
 - On/Off/Preview sound and light effects [XT5Select]
 - On/Off state indicator (color and position) [XT5LightStatusLight]
…5Light'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3]
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 8, 2024

The code design is very different from what is in the repository. It needs to be rewritten. I'll take a look at it when I get a time.

@Nyaran
Copy link
Author

Nyaran commented Apr 9, 2024

Hi,

I tried to make the new entities as much reusable as possible, but sure, it can be modified to fit better with the repository. If you give me some clues, I can try to work on it

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 15, 2024

Specs description are very different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants