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
71.15k stars 29.82k forks source link

switchbot_cloud integrations does not support Temperature & Humidity values from Switchbot Hub 2 #124952

Open Tafkadasoh opened 2 weeks ago

Tafkadasoh commented 2 weeks ago

The problem

I've added the switchbot_cloud integration from https://www.home-assistant.io/integrations/switchbot_cloud, and in general, it works great: My SwitchBot MeterPlus and my three SwitchBot Indoor/Outdoor Thermo-Hygrometers ("WoIOSensors") show up with all expected values.

However, those devices are all connected to my SwitchBot Hub 2, which features also a temperature and a humidity sensor. And those two values unfortunately don't show up in Home Assistant, but they do in my SwitchBot Cloud Account.

Can you please extend the switchbot_cloud integration to also support the sensor values of SwitchBot Hub 2?

What version of Home Assistant Core has the issue?

core-2024.8.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

switchbot_cloud

Link to integration documentation on our website

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

Diagnostics information

home-assistant_switchbot_cloud_2024-08-30T22-17-19.340Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

System Information

version core-2024.8.3
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 4.4.180+
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 2 -- | -- resources | 0 views | 0 mode | storage
Recorder oldest_recorder_run | August 30, 2024 at 14:31 -- | -- current_recorder_run | August 30, 2024 at 16:31 estimated_db_size | 0.51 MiB database_engine | sqlite database_version | 3.45.3
home-assistant[bot] commented 2 weeks ago

Hey there @seraphicrav, @laurence-presland, mind taking a look at this issue as it has been labeled with an integration (switchbot_cloud) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `switchbot_cloud` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign switchbot_cloud` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


switchbot_cloud documentation switchbot_cloud source (message by IssueLinks)

SeraphicRav commented 1 week ago

@laurence-presland Can you please look at this one ?