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

New device ezaiot_r9lite_thermostat.yaml #2631

Merged
merged 9 commits into from
Dec 17, 2024
219 changes: 219 additions & 0 deletions custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
name: EZAIOT R9Lite thermostat
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
#https://www.aliexpress.com/item/1005006020556081.html Electric Heating 16A version

Check warning on line 2 in custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml

View workflow job for this annotation

GitHub Actions / lint

2:2 [comments] missing starting space in comment

Check failure on line 2 in custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml

View workflow job for this annotation

GitHub Actions / lint

2:81 [line-length] line too long (84 > 80 characters)
products:
- id: dq6nlukkifyawj9n
name: EZAIOT R9Lite thermostat
primary_entity:
entity: climate
dps:
- id: 1
type: boolean
name: hvac_mode
mapping:
- dps_val: false
value: 'off'
- dps_val: true
constraint: mode
conditions:
- dps_val: auto
value: auto
- dps_val: manual
value: heat
- id: 2
type: string
name: mode
hidden: true
- id: 16
type: integer
name: temperature
range:
min: 50
max: 10000
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
mapping:
- scale: 10
step: 5
constraint: temperature_unit
conditions:
- dps_val: f
step: 10
- id: 19
type: integer
name: max_temperature
mapping:
- scale: 10
- id: 23
type: string
name: temperature_unit
mapping:
- dps_val: c
value: C
- dps_val: f
value: F
- id: 24
type: integer
name: current_temperature
mapping:
- scale: 10
- id: 26
type: integer
name: min_temperature
mapping:
- scale: 10
- id: 101
type: integer
name: unknown_101
- id: 112
type: integer
name: unknown_112
- id: 102
type: integer
name: Temperature adjust step
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
- id: 110
type: boolean
name: Valve state boolean
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
- id: 105
type: string
name: Device name
- id: 108
type: integer
name: Temperature calibration step
secondary_entities:
- entity: switch
translation_key: anti_frost
category: config
dps:
- id: 10
type: boolean
name: switch
- entity: select
translation_key: temperature_unit
category: config
dps:
- id: 23
type: string
name: option
mapping:
- dps_val: c
value: celsius
- dps_val: f
value: fahrenheit
- entity: select
name: Schedule
category: config
icon: 'mdi:calendar-clock'
dps:
- id: 31
type: string
name: option
mapping:
- dps_val: '5_2'
value: Weekday+Weekend
- dps_val: '6_1'
value: Mon-Sat+Sun
- dps_val: '7'
value: Daily
- entity: binary_sensor
name: Valve
class: opening
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
category: diagnostic
dps:
- id: 36
type: string
name: sensor
mapping:
- dps_val: open
value: true
- dps_val: close
value: false
- entity: lock
translation_key: child_lock
category: config
dps:
- id: 40
type: boolean
name: lock
- entity: binary_sensor
category: diagnostic
class: problem
dps:
- id: 45
type: bitfield
name: sensor
mapping:
- dps_val: 0
value: false
- value: true
- id: 45
type: bitfield
name: fault_code
- entity: number
name: High temperature limit
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
category: config
class: temperature
dps:
- id: 19
type: integer
name: value
unit: C
range:
min: 50
max: 10000
mapping:
- scale: 10
step: 10
- entity: number
name: Low temperature limit
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
category: config
class: temperature
dps:
- id: 26
name: value
type: integer
unit: C
range:
min: 50
max: 10000
mapping:
- scale: 10
step: 10
- entity: number
name: Temperature calibration
category: config
class: temperature
dps:
- id: 109
name: value
type: integer
unit: C
range:
min: -99
max: 99
mapping:
- scale: 10
step: 1
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
- entity: sensor
#The dps id 113 is readonly (set not working)- I don't know why..probably not implemented on device

Check warning on line 195 in custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml

View workflow job for this annotation

GitHub Actions / lint

195:6 [comments] missing starting space in comment

Check failure on line 195 in custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml

View workflow job for this annotation

GitHub Actions / lint

195:81 [line-length] line too long (103 > 80 characters)
name: Temperature sensor type
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
category: diagnostic
dps:
- id: 113
type: string
name: sensor
- entity: sensor
name: External sensor current temperature
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
class: temperature
category: diagnostic
dps:
- id: 115
name: sensor
type: integer
unit: C
mapping:
- scale: 10
- entity: sensor
name: Version
janouskovec marked this conversation as resolved.
Show resolved Hide resolved
category: diagnostic
dps:
- id: 111
name: sensor
type: string
Loading