Skip to content

Commit

Permalink
Add support for HRT AS90 climate alarm
Browse files Browse the repository at this point in the history
Issue #1497
  • Loading branch information
make-all committed Sep 26, 2024
1 parent cf68b74 commit 9f2983b
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 0 deletions.
1 change: 1 addition & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -681,3 +681,4 @@ Further device support has been made with the assistance of users. Please consid
- [andrewigali](https://github.com/andrewigali) for contributing support for HDMI TV ambient lighting 65 LED strip.
- [robex2005](https://github.com/robex2005) for contributing support for iHunt 400m³/h aip purifier.
- [PanosssD](https://github.com/PanosssD) for contributing support for Inventor Comfort air conditioner.
- [Jabber-se](https://github.com/Jabber-se) for contributing support for HRT AS90 climate alarm.
1 change: 1 addition & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ port and password.
- EPT ultrasonic 3m tank level sensor
- GratKit filament dryer
- Haier Nayun NY-GS-04 combustible gas alarm
- HRT AS90 temperature and humidity alarm
- Inkbird PTH-9CW air quality monitor
- KKMoon 7in1 air quality monitor
- Kogan bidet toilet seat
Expand Down
212 changes: 212 additions & 0 deletions custom_components/tuya_local/devices/hrt_as90_climatealarm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
name: Temperature and humidity sensor
products:
- id: rocfghml4gy1vvr8
name: HRT AS90
primary_entity:
entity: sensor
class: temperature
dps:
- id: 1
type: integer
name: sensor
unit: C
class: measurement
mapping:
- scale: 10
secondary_entities:
- entity: sensor
class: humidity
dps:
- id: 2
type: integer
name: sensor
unit: "%"
class: measurement
mapping:
- scale: 10
- entity: sensor
class: battery
category: diagnostic
dps:
- id: 4
type: integer
name: sensor
unit: "%"
class: measurement
- entity: switch
name: Charger
category: config
dps:
- id: 8
type: boolean
name: switch
- entity: select
translation_key: temperature_unit
category: config
dps:
- id: 9
type: string
name: option
mapping:
- dps_val: c
value: celsius
- dps_val: f
value: fahrenheit
- entity: number
name: High temperature limit
category: config
class: temperature
icon: "mdi:thermometer-chevron-up"
dps:
- id: 10
type: integer
name: value
unit: C
range:
min: -190
max: 1500
mapping:
- scale: 10
- entity: number
name: Low temperature limit
category: config
icon: "mdi:thermometer^chevron-down"
dps:
- id: 11
type: integer
name: value
unit: C
range:
min: -190
max: 1500
mapping:
- scale: 10
- entity: number
name: High humidity limit
category: config
class: humidity
dps:
- id: 12
type: integer
name: value
unit: "%"
range:
min: 0
max: 1000
mapping:
- scale: 10
- entity: number
name: Low humidity limit
category: config
class: humidity
dps:
- id: 13
type: integer
name: value
unit: "%"
range:
min: 0
max: 1000
mapping:
- scale: 10
- entity: sensor
name: Temperature alarm
class: enum
icon: "mdi:thermomter-alert"
category: diagnostic
dps:
- id: 14
type: string
name: sensor
mapping:
- dps_val: upperalarm
value: "High temperature"
- dps_val: loweralarm
value: "Low temperature"
- dps_val: cancel
value: "No alarm"
- entity: sensor
name: Humidity alarm
class: enum
icon: "mdi:water-percent-alert"
category: diagnostic
dps:
- id: 15
type: string
name: sensor
mapping:
- dps_val: upperalarm
value: "High humidity"
- dps_val: loweralarm
value: "Low humidity"
- dps_val: cancel
value: "No alarm"
- entity: sensor
name: Illumination
icon: "mdi:sun-wireless"
dps:
- id: 16
type: integer
name: sensor
unit: "%"
class: measurement
- entity: number
name: Temperature report interval
category: config
icon: "mdi:clock"
dps:
- id: 17
type: integer
name: value
unit: s
range:
min: 1
max: 3600
- entity: number
name: Humidity report interval
category: config
icon: "mdi:clock"
dps:
- id: 18
type: integer
name: value
unit: s
range:
min: 1
max: 3600
- entity: light
translation_key: backlight
category: config
dps:
- id: 21
type: boolean
name: switch
- entity: number
name: Temperature calibration
category: config
class: temperature
icon: "mdi:thermometer-check"
dps:
- id: 23
type: integer
name: value
unit: C
range:
min: -80
max: 80
mapping:
- scale: 10
- entity: number
name: Humidity calibration
category: config
class: humidity
dps:
- id: 24
type: integer
name: value
unit: "%"
range:
min: -500
max: 500
mapping:
- scale: 10

0 comments on commit 9f2983b

Please sign in to comment.