home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.8k stars 30.51k forks source link

Bosch SHC Smart Plug Compact not recognized as a switch #59706

Closed Windyo closed 2 years ago

Windyo commented 2 years ago

The problem

The Bosch SHC integration detects Smart Plug Compact as Sensors, but not as a Switch, making it functionally useless for any automation which requires turning plugs on or off. image

What version of Home Assistant Core has the issue?

2021.11.3

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

Bosch SHC

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bosch_shc

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

The Smart Pug Compact is relatively new - may be a new type of API on the bosch side ?

probot-home-assistant[bot] commented 2 years ago

bosch_shc documentation bosch_shc source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @tschamm, mind taking a look at this issue as it has been labeled with an integration (bosch_shc) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

tschamm commented 2 years ago

I confirm this as a missing feature, in the official integration the switch platform is not yet merged. If you want full feature support, please use the bosch_shc integration provided via HACS. Bringing all features to the official branch will take some more time (probably several months).

ghost commented 2 years ago

Have the same problem here. Because SHC works so great with without internet on HA, I was so stupid to buy a Bosch Smart Home Switch... but it ain't switching, only showing power use 🤦‍♂️

tschamm commented 2 years ago

The missing feature is implemented in https://github.com/home-assistant/core/pull/62315 Until then, you can use the custom component which already supports the requested functionality for the switch platform.

ghost commented 2 years ago

Dear @tschamm

I just switched back from HACS to use the official config (ik wanted to remove HACS to rule out some minor issue of something else in lovelace not refreshing properly). But I see the switch is still not active, while it should be implemented right?!

Would it be possible if you can take a look at this? Would it also be possible if the intrusion detection and smoke alarm being added in the official one? I'm also using these ones and I think they are a huge benefit for other users asswell. Thanks for reading!

With Hacs I do have these:

Test

With the official intergration:

Missing
tschamm commented 2 years ago

The PR is finally closed, thanks @epenet! With the HA release 2022.4.0 the switch platform will be available.