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

Map daily_energy_kwh for all devices #146

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions custom_components/connectlife/data_dictionaries/006-200.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Portable air conditioner
properties:
- property: daily_energy_kwh
hide: true
sensor:
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_temp_in
icon: mdi:temp
climate:
Expand Down
3 changes: 2 additions & 1 deletion custom_components/connectlife/data_dictionaries/006-201.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ properties:
- property: daily_energy_kwh
hide: true
sensor:
state_class: total
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_temp_in
Expand Down
3 changes: 2 additions & 1 deletion custom_components/connectlife/data_dictionaries/007-400.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ properties:
- property: daily_energy_kwh
hide: true
sensor:
state_class: total
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_e_filterclean
Expand Down
3 changes: 2 additions & 1 deletion custom_components/connectlife/data_dictionaries/007-406.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ properties:
- property: daily_energy_kwh
hide: true
sensor:
state_class: total
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_e_filterclean
Expand Down
7 changes: 7 additions & 0 deletions custom_components/connectlife/data_dictionaries/009-104.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ climate:
t_fan_mute: 0
t_super: 0
properties:
- property: daily_energy_kwh
hide: true
sensor:
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_temp_in
climate:
target: current_temperature
Expand Down
7 changes: 7 additions & 0 deletions custom_components/connectlife/data_dictionaries/009-106.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ climate:
t_power: 1
t_tms: 1
properties:
- property: daily_energy_kwh
hide: true
sensor:
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_temp_in
climate:
target: current_temperature
Expand Down
7 changes: 7 additions & 0 deletions custom_components/connectlife/data_dictionaries/009-109.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ climate:
t_power: 1
t_tms: 1
properties:
- property: daily_energy_kwh
hide: true
sensor:
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_temp_in
climate:
target: current_temperature
Expand Down
7 changes: 7 additions & 0 deletions custom_components/connectlife/data_dictionaries/009-117.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ climate:
t_power: 1
t_tms: 1
properties:
- property: daily_energy_kwh
hide: true
sensor:
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_temp_in
climate:
target: current_temperature
Expand Down
9 changes: 8 additions & 1 deletion custom_components/connectlife/data_dictionaries/009-128.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ climate:
t_fan_mute: 1
t_fan_speed: 0 # auto
properties:
- property: daily_energy_kwh
hide: true
sensor:
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_temp_in
climate:
target: current_temperature
Expand Down Expand Up @@ -127,4 +134,4 @@ properties:
- property: f_e_push
disable: true
- property: f_ecm
disable: true
disable: true
3 changes: 2 additions & 1 deletion custom_components/connectlife/data_dictionaries/009-129.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ properties:
- property: daily_energy_kwh
hide: true
sensor:
state_class: total
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_votage
Expand Down
17 changes: 9 additions & 8 deletions custom_components/connectlife/data_dictionaries/015-000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ properties:
- property: ADO_allowed
hide: true
sensor:
read-only: true
read_only: true
- property: Alarm_auto_dose_refill
binary_sensor:
device_class: problem
Expand Down Expand Up @@ -84,27 +84,27 @@ properties:
icon: mdi:dishwasher-alert
- property: Auto_dose_duration
sensor:
read-only: true
read_only: true
device_class: duration
unit: min
- property: Auto_dose_quantity_setting_status
sensor:
read-only: true
read_only: true
- property: Auto_dose_refill
sensor:
read-only: true
read_only: true
- property: Auto_dose_setting_status
sensor:
read-only: true
read_only: true
- property: Child_lock
hide: true
- property: Child_lock_setting_status
hide: true
sensor:
read-only: true
read_only: true
- property: Curent_program_duration
sensor:
read-only: true
read_only: true
device_class: duration
unit: min
- property: Curent_program_remaining_time
Expand Down Expand Up @@ -407,6 +407,7 @@ properties:
- property: daily_energy_kwh
hide: true
sensor:
state_class: total
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
7 changes: 7 additions & 0 deletions custom_components/connectlife/data_dictionaries/016-502.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
properties:
- property: daily_energy_kwh
hide: true
sensor:
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: f_water_tank_temp
water_heater:
target: current_temperature
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,9 @@ properties:
# Sample value: 5
hide: true
- property: daily_energy_kwh
# Sample value: 0
hide: true
sensor:
state_class: total
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ properties:
- property: daily_energy_kwh
hide: true
sensor:
state_class: total
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh
- property: date_display_format_status
Expand Down
3 changes: 2 additions & 1 deletion custom_components/connectlife/data_dictionaries/032-000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ properties:
- property: daily_energy_kwh
hide: true
sensor:
state_class: total
read_only: true
state_class: total_increasing
device_class: energy
unit: kWh