Skip to content

Commit

Permalink
Merge branch 'make-all:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
a-r-j-a-n authored Sep 30, 2024
2 parents c795440 + f6245ff commit 9be4b9b
Show file tree
Hide file tree
Showing 23 changed files with 301 additions and 1 deletion.
1 change: 1 addition & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -691,3 +691,4 @@ Further device support has been made with the assistance of users. Please consid
- [death-droid](https://github.com/death-droid) for contributing improvements to the water_heater platform.
- [79chrisone](https://github.com/79chrisone) for contributing basic support for EARU DPN circuit breaker.
- [sorrison](https://github.com/sorrison) for contributing improvements to Sanden heat pump.
- [OsaedYahya](https://github.com/OsaedYahya) for contributing support for MyQ TD8 vide doorbell.
1 change: 1 addition & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ work reliably, even if listed below.
- Cleverio CD200 video doorbell
- Iebeyond ECH doorbell with 433MHz RF hub
- KW02 video doorbell
- MyQ TD8 video doorbell
- WHM-04 doorbell (sold under various brands)

### Cameras
Expand Down
159 changes: 159 additions & 0 deletions custom_components/tuya_local/devices/myq_td8_videodoorbell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
name: Video doorbell
products:
- id: wih9ybttb42lxb1q
name: myQ TD8
primary_entity:
entity: camera
dps:
- id: 154
name: snapshot
type: base64
optional: true
persist: false
sensitive: true
mapping:
- dps_val: null
value_redirect: movement_pic
- id: 115
name: movement_pic
type: base64
optional: true
sensitive: true
- id: 134
name: motion_enable
type: boolean
- id: 150
name: record
type: boolean
- id: 152
name: pir_switch
type: string
optional: true
# enum: ["0", "1", "2", "3"] - probably a select, but meanings unknown
secondary_entities:
- entity: light
translation_key: indicator
category: config
dps:
- id: 101
type: boolean
name: switch
optional: true
- entity: switch
name: Flip image
icon: "mdi:flip-horizontal"
category: config
dps:
- id: 103
type: boolean
name: switch
optional: true
- entity: sensor
name: SD status
category: diagnostic
icon: "mdi:micro-sd"
dps:
- id: 110
type: integer
name: sensor
optional: true
- id: 109
type: string
name: storage
optional: true
- entity: button
name: SD format
category: config
icon: "mdi:micro-sd"
dps:
- id: 111
type: boolean
name: button
optional: true
- id: 117
type: integer
name: sd_format_state
optional: true
- entity: siren
category: config
dps:
- id: 159
type: boolean
name: switch
optional: true
- id: 160
type: integer
optional: true
name: volume_level
range:
min: 1
max: 10
mapping:
- scale: 10
- entity: sensor
class: battery
category: diagnostic
dps:
- id: 145
type: integer
optional: true
name: sensor
unit: "%"
class: measurement
- id: 126
type: integer
optional: true
name: capacity
mapping:
- scale: 0.15
- id: 146
type: string
optional: true
name: powermode
- entity: number
name: Low power level
category: config
icon: "mdi:battery-20"
dps:
- id: 147
type: integer
optional: true
name: value
unit: "%"
range:
min: 10
max: 50
- entity: binary_sensor
translation_key: wake
category: diagnostic
dps:
- id: 149
type: boolean
optional: true
name: sensor
- entity: switch
name: Human filter
icon: "mdi:human"
category: config
dps:
- id: 170
type: boolean
name: switch
optional: true
- entity: event
class: doorbell
dps:
- id: 185
type: string
name: event
optional: true
mapping:
- dps_val: ""
value: null
- dps_val: null
value: null
- value: "ring"
- id: 185
type: string
name: message
optional: true
6 changes: 6 additions & 0 deletions custom_components/tuya_local/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"state": {
"on": "mdi:water-alert"
}
},
"wake": {
"default": "mdi:weather-sunny",
"state": {
"off": "mdi:weather-night"
}
}
},
"climate": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Пълна"
}
},
"wake": {
"name": "Събуждане",
"state": {
"off": "Сън",
"on": "Будене"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/cz.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Plná"
}
},
"wake": {
"name": "Probuzení",
"state": {
"off": "Spí",
"on": "Probuzený"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Voll"
}
},
"wake": {
"name": "Wake",
"state": {
"off": "Schlafend",
"on": "Wach"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Γεμάτο"
}
},
"wake": {
"name": "Ξύπνημα",
"state": {
"off": "Αναμονή",
"on": "Ξύπνημα"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Full"
}
},
"wake": {
"name": "Wake",
"state": {
"off": "Sleeping",
"on": "Awake"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Lleno"
}
},
"wake": {
"name": "Despertar",
"state": {
"off": "Dormido",
"on": "Despierto"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
9 changes: 8 additions & 1 deletion custom_components/tuya_local/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,14 @@
"on": "Pleine"
}
},
"casdon_oven_fault": {
"wake": {
"name": "Réveil",
"state": {
"off": "Endormi",
"on": "Réveillé"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
"state": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Teljes"
}
},
"wake": {
"name": "Ébresztés",
"state": {
"off": "Normál",
"on": "Ébresztés"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Penuh"
}
},
"wake": {
"name": "Bangun",
"state": {
"off": "Tidur",
"on": "Bangun"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Piena"
}
},
"wake": {
"name": "Sveglia",
"state": {
"off": "Spento",
"on": "Acceso"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "満杯"
}
},
"wake": {
"name": "起床",
"state": {
"off": "スリープ",
"on": "起床"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/no-NB.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Full"
}
},
"wake": {
"name": "Våkne",
"state": {
"off": "Søvn",
"on": "Våken"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Pełny"
}
},
"wake": {
"name": "Budzenie",
"state": {
"off": "Naladowana",
"on": "Budzenie"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Cheio"
}
},
"wake": {
"name": "Acordar",
"state": {
"off": "Dormindo",
"on": "Acordado"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
7 changes: 7 additions & 0 deletions custom_components/tuya_local/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
"on": "Полный"
}
},
"wake": {
"name": "Подъем",
"state": {
"off": "Сон",
"on": "Бодрствование"
}
},
"casdon_oven_fault": {
"state_attributes": {
"fault_message": {
Expand Down
Loading

0 comments on commit 9be4b9b

Please sign in to comment.