Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Prosto PTC 2000 Heater #1400

Merged
merged 3 commits into from
Jan 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions custom_components/tuya_local/devices/prosto_ptc2000_heater.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Prosto Heater
primary_entity:
entity: climate
dps:
- id: 1
type: boolean
name: hvac_mode
mapping:
- dps_val: false
value: "off"
- dps_val: true
constraint: preset_mode
conditions:
- dps_val: level_0
value: fan_only
- dps_val: level_1
value: heat
- dps_val: level_2
value: heat
hidden: true
- id: 2
type: integer
name: temperature
range:
min: 18
max: 45
- id: 3
type: integer
name: current_temperature
- id: 5
name: preset_mode
type: string
mapping:
- dps_val: "level_0"
value: none
- dps_val: "level_1"
value: comfort
- dps_val: "level_2"
value: boost
- id: 8
type: boolean
name: swing_mode
mapping:
- dps_val: false
value: "off"
- dps_val: true
value: "on"
secondary_entities:
- entity: select
name: Level
icon: "mdi:signal"
dps:
- id: 4
type: string
name: option
mapping:
- dps_val: "normal"
value: Full
- dps_val: "auto"
value: Auto
- entity: select
name: Timer
icon: "mdi:timer"
category: config
dps:
- id: 19
type: string
name: option
mapping:
- dps_val: "cancel"
value: "none"
- dps_val: "1h"
value: "1 Hour"
- dps_val: "2h"
value: "2 Hours"
- dps_val: "3h"
value: "3 Hours"
- dps_val: "4h"
value: "4 Hours"
- dps_val: "5h"
value: "5 Hours"
- dps_val: "6h"
value: "6 Hours"
- dps_val: "7h"
value: "7 Hours"
- dps_val: "8h"
value: "8 Hours"
- entity: switch
name: Window detection
icon: "mdi:window-open-variant"
category: config
dps:
- id: 101
type: boolean
name: switch