-
Notifications
You must be signed in to change notification settings - Fork 518
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 Herschel Infrared heaters
Contributed via discussion #1659
- Loading branch information
Showing
3 changed files
with
103 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
100 changes: 100 additions & 0 deletions
100
custom_components/tuya_local/devices/herschel_irheater.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,100 @@ | ||
name: IR heater | ||
products: | ||
- id: 4aVbNfxEYUbylvvW | ||
name: Herschel Infrared Heater | ||
primary_entity: | ||
entity: climate | ||
icon: "mdi:radiator" | ||
dps: | ||
- id: 1 | ||
type: boolean | ||
name: hvac_mode | ||
mapping: | ||
- dps_val: false | ||
value: "off" | ||
- dps_val: true | ||
value: heat | ||
- id: 2 | ||
type: integer | ||
name: temperature | ||
mapping: | ||
- scale: 10 | ||
step: 10 | ||
range: | ||
min: 0 | ||
max: 370 | ||
- id: 3 | ||
type: integer | ||
name: current_temperature | ||
mapping: | ||
- scale: 10 | ||
secondary_entities: | ||
- entity: select | ||
name: Timer | ||
icon: "mdi:timer" | ||
category: config | ||
dps: | ||
- id: 10 | ||
type: string | ||
name: option | ||
optional: true | ||
mapping: | ||
- dps_val: "0" | ||
value: "Off" | ||
- dps_val: "1" | ||
value: "1 hour" | ||
- dps_val: "2" | ||
value: "2 hours" | ||
- dps_val: "3" | ||
value: "3 hours" | ||
- dps_val: "4" | ||
value: "4 hours" | ||
- dps_val: "5" | ||
value: "5 hours" | ||
- dps_val: "6" | ||
value: "6 hours" | ||
- dps_val: "7" | ||
value: "7 hours" | ||
- dps_val: "8" | ||
value: "8 hours" | ||
- dps_val: "9" | ||
value: "9 hours" | ||
- dps_val: "10" | ||
value: "10 hours" | ||
- dps_val: "11" | ||
value: "11 hours" | ||
- dps_val: "12" | ||
value: "12 hours" | ||
- dps_val: "13" | ||
value: "13 hours" | ||
- dps_val: "14" | ||
value: "14 hours" | ||
- dps_val: "15" | ||
value: "15 hours" | ||
- dps_val: "16" | ||
value: "16 hours" | ||
- dps_val: "17" | ||
value: "17 hours" | ||
- dps_val: "18" | ||
value: "18 hours" | ||
- dps_val: "19" | ||
value: "19 hours" | ||
- dps_val: "20" | ||
value: "20 hours" | ||
- dps_val: "21" | ||
value: "21 hours" | ||
- dps_val: "22" | ||
value: "22 hours" | ||
- dps_val: "23" | ||
value: "23 hours" | ||
- dps_val: "24" | ||
value: "24 hours" | ||
- entity: sensor | ||
name: Time remaining | ||
class: duration | ||
category: diagnostic | ||
dps: | ||
- id: 11 | ||
type: integer | ||
name: sensor | ||
unit: min |