Skip to content

Commit

Permalink
Aygrochy air vent: combine alarm and auto settings
Browse files Browse the repository at this point in the history
Combine the alarm and auto temperature and humidity thresholds to simplify the UI.

PR #2555
  • Loading branch information
make-all authored Dec 23, 2024
1 parent 0f1287e commit 10afc8f
Showing 1 changed file with 51 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,42 @@ primary_entity:
name: current_temperature
type: integer
unit: "F"
- id: 106
- id: 110
name: target_temp_high
type: integer
range:
min: 32
max: 194
unit: "F"
- id: 108
mapping:
- constraint: hvac_mode
conditions:
- dps_val: AUTO
value_redirect: auto_temp_high
- id: 106
name: auto_temp_high
type: integer
range:
min: 32
max: 194
- id: 112
name: target_temp_low
type: integer
range:
min: 32
max: 194
unit: "F"

mapping:
- constraint: hvac_mode
conditions:
- dps_val: AUTO
value_redirect: auto_temp_low
- id: 108
name: auto_temp_low
type: integer
range:
min: 32
max: 194
secondary_entities:
- entity: fan
dps:
Expand Down Expand Up @@ -109,72 +130,58 @@ secondary_entities:
type: string
# id 106 see primairy entity
- entity: number
name: Auto - high humidity
name: Maximum humidity
class: humidity
dps:
- id: 107
- id: 111
name: value
type: integer
range:
min: 0
max: 100
unit: "%"
# id 108 see primairy entity
- entity: number
name: Auto - low humidity
class: humidity
dps:
- id: 109
name: value
mapping:
- constraint: mode
conditions:
- dps_val: AUTO
value_redirect: auto_high_humidity
- id: 2
name: mode
type: string
hidden: true
- id: 107
name: auto_high_humidity
type: integer
range:
min: 0
max: 100
unit: "%"
- entity: number
name: Alarm - high temperature
class: temperature
dps:
- id: 110
name: value
type: integer
range:
min: 32
max: 194
unit: "F"
# id 108 see primairy entity
- entity: number
name: Alarm - high humidity
name: Minimum humidity
class: humidity
dps:
- id: 111
- id: 113
name: value
type: integer
range:
min: 0
max: 100
unit: "%"
- entity: number
name: Alarm - low temperature
class: temperature
dps:
- id: 112
name: value
type: integer
range:
min: 32
max: 194
unit: "F"
- entity: number
name: Alarm - low humidity
class: humidity
dps:
- id: 113
name: value
mapping:
- constraint: mode
conditions:
- dps_val: AUTO
value_redirect: auto_low_humidity
- id: 2
name: mode
type: string
hidden: true
- id: 109
name: auto_low_humidity
type: integer
range:
min: 0
max: 100
unit: "%"
- entity: lock
translation_key: child_lock
dps:
Expand Down

0 comments on commit 10afc8f

Please sign in to comment.