Update switchbot bluetooth matchers for sensor devices (#75690)

This commit is contained in:
J. Nick Koston 2022-07-24 16:55:52 -05:00 committed by GitHub
parent bbb9443b00
commit 511af3c455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 4 deletions

View File

@ -1042,8 +1042,8 @@ build.json @home-assistant/supervisor
/tests/components/switch/ @home-assistant/core /tests/components/switch/ @home-assistant/core
/homeassistant/components/switch_as_x/ @home-assistant/core /homeassistant/components/switch_as_x/ @home-assistant/core
/tests/components/switch_as_x/ @home-assistant/core /tests/components/switch_as_x/ @home-assistant/core
/homeassistant/components/switchbot/ @danielhiversen @RenierM26 @murtas /homeassistant/components/switchbot/ @bdraco @danielhiversen @RenierM26 @murtas
/tests/components/switchbot/ @danielhiversen @RenierM26 @murtas /tests/components/switchbot/ @bdraco @danielhiversen @RenierM26 @murtas
/homeassistant/components/switcher_kis/ @tomerfi @thecode /homeassistant/components/switcher_kis/ @tomerfi @thecode
/tests/components/switcher_kis/ @tomerfi @thecode /tests/components/switcher_kis/ @tomerfi @thecode
/homeassistant/components/switchmate/ @danielhiversen /homeassistant/components/switchmate/ @danielhiversen

View File

@ -5,8 +5,15 @@
"requirements": ["PySwitchbot==0.15.1"], "requirements": ["PySwitchbot==0.15.1"],
"config_flow": true, "config_flow": true,
"dependencies": ["bluetooth"], "dependencies": ["bluetooth"],
"codeowners": ["@danielhiversen", "@RenierM26", "@murtas"], "codeowners": ["@bdraco", "@danielhiversen", "@RenierM26", "@murtas"],
"bluetooth": [{ "service_uuid": "cba20d00-224d-11e6-9fb8-0002a5d5c51b" }], "bluetooth": [
{
"service_data_uuid": "0000fd3d-0000-1000-8000-00805f9b34fb"
},
{
"service_uuid": "cba20d00-224d-11e6-9fb8-0002a5d5c51b"
}
],
"iot_class": "local_push", "iot_class": "local_push",
"loggers": ["switchbot"] "loggers": ["switchbot"]
} }

View File

@ -65,6 +65,10 @@ BLUETOOTH: list[dict[str, str | int | list[int]]] = [
"domain": "sensorpush", "domain": "sensorpush",
"local_name": "SensorPush*" "local_name": "SensorPush*"
}, },
{
"domain": "switchbot",
"service_data_uuid": "0000fd3d-0000-1000-8000-00805f9b34fb"
},
{ {
"domain": "switchbot", "domain": "switchbot",
"service_uuid": "cba20d00-224d-11e6-9fb8-0002a5d5c51b" "service_uuid": "cba20d00-224d-11e6-9fb8-0002a5d5c51b"