Skip to content

Commit

Permalink
Add total_electrical_energy and energy_cooling sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
wrfz committed Nov 6, 2024
1 parent 3b1a68b commit 6d5d951
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
24 changes: 24 additions & 0 deletions components/daikin_rotex_can/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,30 @@
"data_size": 2,
"divider": 1
},
{
"type": "sensor",
"name": "energy_cooling",
"device_class": DEVICE_CLASS_ENERGY_STORAGE,
"unit_of_measurement": UNIT_KILOWATT_HOURS,
"accuracy_decimals": 0,
"state_class": STATE_CLASS_MEASUREMENT,
"icon": "mdi:transmission-tower",
"command": "31 00 FA 06 A6 00 00",
"data_offset": 5,
"data_size": 2
},
{
"type": "sensor",
"name": "total_electrical_energy",
"device_class": DEVICE_CLASS_ENERGY_STORAGE,
"unit_of_measurement": UNIT_KILOWATT_HOURS,
"accuracy_decimals": 0,
"state_class": STATE_CLASS_MEASUREMENT,
"icon": "mdi:transmission-tower",
"command": "31 00 FA C2 FA 00 00",
"data_offset": 5,
"data_size": 2
},
{
"type": "sensor",
"name": "runtime_compressor",
Expand Down
5 changes: 4 additions & 1 deletion examples/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,16 @@ daikin_rotex_can:
name: EHS für DHW
ehs_for_ch:
name: EHS fuer CH
#Energie Kühlung
energy_cooling:
name: Energie Kühlung
qch:
name: Energie Heizung
total_energy_produced:
name: Erzeugte Energie Gesamt
qdhw:
name: Energie für WW
total_electrical_energy:
name: Elektrische Energie Gesamt
#WE Typ
#SwNr B1/U1
#SwNr Regler
Expand Down

0 comments on commit 6d5d951

Please sign in to comment.