-
-
Notifications
You must be signed in to change notification settings - Fork 29k
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
innr Smart Plug (SP 222) connected to Hue Bridge shows as Light, not Switch #82883
Comments
Hey there @balloob, @marcelveldt, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) hue documentation |
This is by design. Hue only supports light and although you can attach other devices to a smart plug, it is intended to be used with a light. For now you could use a template switch: https://www.home-assistant.io/integrations/switch.template/ I think we should treat this as a feature request where we can allow a smartplug in Hue to be imported as switch. |
you can setup a helper to change the behave. This can be done easily within the UI of homeassisant: Sorry for missing images... I am currently behind a proxy that seems to block the image sources :D Another option would be, to switch from the Hue Integration directly to a Zigbee integration, which would require an additional zigbee coordinator. so, yes, while you can easily add Zigbee based plugs into Hue, they will be recognized as a Light bulb by default. So even for these devices some options are not available inside the hue platform. |
@ChristophCaina Hue does not require a cloud service. It is in fact one of the integrations we prefer because of its dedication to provide a good working local api. Also Hue lights will always work best with the official Hue bridge. Things like dynamic scenes and entertainment services simply will not work with a generic Zigbee implementation, let alone the official firmware updates. If you have mostly Hue devices and or care about entertainment or the various dynamic scenes (or other unique hue features) my recommendation would be to stick with the official Hue bridge. If you have a mix of devices, you have other (better) options. |
ok, that's a valid argument :) Everything else, like plugs etc.... would be better in any other zigbee integration... (imho) For example: After switching this bulb from Hue to ZHA - I could configure "On / Off Transitions" by default... |
Ah yes, very true. It is indeed also the other way around. |
Thanks both - @marcelveldt and @ChristophCaina - I really appreciate your time. I've got 34, 44, 43 (121 total) devices sitting across 3x Hue Hubs. Just two are these smart plugs from innr. I've never been sure if trying to mode to a different Zigbee controller would be a sensible idea given the number of devices, and the loss of official Hue firmware. I'm a bit of a chicken really 🤣 I went for the "switch as X" idea, but hit a stumbling block, perhaps you could please advise ... My understanding is that this will take a "switch.something" entity and let you turn it into something else - e.g. "light.something". I guess I'm out of luck then as I want to do it the other way round? It's presented as a light by the HA Hue integration and I want to turn it into a switch as it's really a smart plug. Have I got that right? (If so, will do it with a template as advised.) |
You are not the first with this question. While Hue focusses on lightning (and treats the power plugs as lights) there are cases where people have all Hue lights and an incidental power plug for something else. While normally my answer would be to use Hue for lights and all other stuff on a more generic Zigbee implementation (or matter, bluetooth, wifi etc.) I understand the case that you just want to add that one device as switch using the Hue platform you're already familiar with. At this time we don't have some out of the box "light as switch" feature other than using template entities I mentioned above. Maybe we can have something like this in the future considered the fact that this question pops up more often. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
I have a innr Smart Plug model SP 222. It's a "Friends of Hue" device and so can be added to the Hue bridge using the Hue iOS app. It shows fine in the Hue app, provides a simple on / off switch (it does nothing else), and is even picked up correctly by HomeKit as an on / off switch. Once added to the Hue hub, it immediately appeared in Home Assistant => Integrations / Philips Hue / Bridge / Devices. The manufacturer shows correctly as "innr" and the Model correctly shows as "On/Off plug (SP 222). However HomeAssistant has added it as a light entity rather than as a switch entity. I have a fan connected to the plug, and I wanted to use a "Switch as X" helper to turn it into a fan. Sadly I can't do with with a light entity, so I'm a bit stuck for now. I've downloaded the diagnostics for the device and included them below. Thanks in advance for your help.
What version of Home Assistant Core has the issue?
core 2022.11.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Philips Hue
Link to integration documentation on our website
https://www.home-assistant.io/integrations/hue/
Diagnostics information
config_entry-hue-7e0a015126e67a7cc03081eb9fac9312.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
If you need any additional information, please let me know - I'll be happy to help. 👍🏻
The text was updated successfully, but these errors were encountered: