Skip to content

Simple switch support#81

Closed
MattBavaria wants to merge 3 commits into
hthiery:masterfrom
MattBavaria:Simple-Switch-Support
Closed

Simple switch support#81
MattBavaria wants to merge 3 commits into
hthiery:masterfrom
MattBavaria:Simple-Switch-Support

Conversation

@MattBavaria
Copy link
Copy Markdown

Added some changes to switch class to make my Magenta Zwischenstecker work with HomeAssistant.

Added Magenta Zwischenstecker and magnetical alarm contact
Magenta Zwischenstecker are HAN-FUN devices and use the "simpleonoff" tag to get/set status.
I reused mostly the routines already implemented for lightbulbs.
Fritz DECT 200/210 identify themselves as "switchable device",besides their extended switch functionality too.
So it had to be assured, that "simpleonoff" is exclusivesly used for HAN-FUN devices.
Code works for me with HomeAssistant 2022.6 on WDMYEX2ULTRA.
Could not check, if there is any  unintented effect to lightbulbs - maybe theses classes could be more unified later on.
@mib1185
Copy link
Copy Markdown
Collaborator

mib1185 commented Apr 1, 2024

this has been superseded by #83

@mib1185 mib1185 closed this Apr 1, 2024
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.

2 participants