mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2025-11-18 17:19:02 +00:00
Add support for 'sound_switch' service
This commit is contained in:
@@ -2336,5 +2336,81 @@
|
||||
"intf": ["cmd.meter.get_report", "evt.meter.report", "cmd.meter.reset"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"client": {
|
||||
"name": "Smart Doorbell"
|
||||
},
|
||||
"id": 1002,
|
||||
"model": "zw - Futurehome - Doorbell Pro",
|
||||
"modelAlias": "Doorbell Pro",
|
||||
"type": {
|
||||
"subtype": "door",
|
||||
"supported": {
|
||||
"siren": []
|
||||
},
|
||||
"type": "siren"
|
||||
},
|
||||
"locationRef": {
|
||||
"id": "12",
|
||||
"type": "Room"
|
||||
},
|
||||
"thingRef": {
|
||||
"id": "167"
|
||||
},
|
||||
"origin": "056e610614c848c51a",
|
||||
"services": {
|
||||
"sound_switch": {
|
||||
"name": "sound_switch",
|
||||
"addr": "/rt:dev/rn:zw/ad:1/sv:sound_switch/ad:1002_0",
|
||||
"enabled": true,
|
||||
"props": {
|
||||
"sup_tones": [
|
||||
{
|
||||
"tone_id": 1,
|
||||
"duration": 5,
|
||||
"name": "01 Ding Dong"
|
||||
},
|
||||
{
|
||||
"tone_id": 2,
|
||||
"duration": 9,
|
||||
"name": "02 Ding Dong Tubular"
|
||||
},
|
||||
{
|
||||
"tone_id": 3,
|
||||
"duration": 10,
|
||||
"name": "03 Traditional Apartment Buzzer"
|
||||
},
|
||||
{
|
||||
"tone_id": 4,
|
||||
"duration": 1,
|
||||
"name": "04 Electric Apartment Buzzer"
|
||||
},
|
||||
{
|
||||
"tone_id": 5,
|
||||
"duration": 3,
|
||||
"name": "05 Westminster Chimes"
|
||||
},
|
||||
{
|
||||
"tone_id": 25,
|
||||
"duration": 15,
|
||||
"name": "25 Emergency Alert"
|
||||
}
|
||||
],
|
||||
"supports_play_with_volume": true
|
||||
},
|
||||
"intf": [
|
||||
"cmd.config.get_report",
|
||||
"cmd.config.set",
|
||||
"evt.config.report",
|
||||
"cmd.play.get_report",
|
||||
"cmd.play.set",
|
||||
"cmd.play.stop",
|
||||
"evt.play.report"
|
||||
],
|
||||
"metadata": null
|
||||
}
|
||||
},
|
||||
"metadata": null
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user