Skip to content

Commit

Permalink
Add support for sensors attached to a Universal Remote Control.
Browse files Browse the repository at this point in the history
Issue #203
  • Loading branch information
make-all committed Jul 24, 2022
1 parent d9857de commit c4ff146
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Further device support has been made with the assistance of users. Please consi
- [Krispkiwi](https://github.com/Krispkiwi) for assistance with M027 curtain modules and debugging Kogan Kettle.
- [craibo](https://github.com/craibo) for contributing support for Jiahong ET-72W thermostats.
- [x-keita](https://github.com/x-keita) for contributing support for Betterlife BL1500 IR heaters and Nexxt smart switches.
- [Der-Nax](https:github.com/Der-Nax) for assistant with a second variant of energy monitoring smart switch and for contributing support for PY321-TY power clamps and Compteur smart meters.
- [Der-Nax](https:github.com/Der-Nax) for assistance with a second variant of energy monitoring smart switch and for contributing support for PY321-TY power clamps, Compteur smart meters and sensors on a Universal Remote Control.
- [17hoehbr](https://github.com/17hoehbr) for assistance supporting APOSEN A550
- [yurgh](https://github.com/yurgh) for assistant supporting Eesee Adam dehumidifier
- [KaportsevIA](https://github.com/KaportsevIA) for assistance supporting Hyundai Sahara dehumidifier, Yandax color bulb and ES01 powerstrip.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ Other brands may work with the above configurations
### Miscellaneous
- Qoto 03 Smart Water Valve / Sprinkler Controller
- SD123 HPR01 Human Presence Radar
- Universal Remote Control (supports sensors only)

---

Expand Down
27 changes: 27 additions & 0 deletions custom_components/tuya_local/devices/ir_remote_sensors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Universal Remote Control
products:
- id: whs3cty93fzrqkpt
# Remote device is not supported, as it requires sub devices and a new platform
# But we can support the sensors on the device.
primary_entity:
entity: sensor
name: Temperature
class: temperature
dps:
- id: 101
name: sensor
type: integer
class: measurement
unit: C
mapping:
- scale: 10
secondary_entities:
- entity: sensor
name: Humidity
class: humidity
dps:
- id: 102
name: sensor
type: integer
unit: "%"
class: measurement

0 comments on commit c4ff146

Please sign in to comment.