Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/mystrom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
if device_type in [101, 106, 107]:
device = MyStromSwitch(host)
platforms = PLATFORMS_SWITCH
elif device_type == 102:
elif device_type in [102, 105]:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to myStrom's API documentation:

All the Bulbs request also work on the LED strip

Should be fine as "Light Effects" seems the only difference between the bulb and the strip.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea I made this PR to publish the code I wanted someone else to check, as this component was updated in 2023.7.0 and there were some bugs, so I decided to dive into it. I am continuing this in the other PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mac = info["mac"]
device = MyStromBulb(host, mac)
platforms = PLATFORMS_BULB
Expand Down