-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for sensors attached to a Universal Remote Control.
Issue #203
- Loading branch information
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
custom_components/tuya_local/devices/ir_remote_sensors.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |