Skip to content

Commit

Permalink
Add inv_sec_current sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
wrfz committed Nov 20, 2024
1 parent 444cb94 commit cb34ade
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions components/daikin_rotex_uart/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,20 @@ def get_fan_divider():
"accuracy_decimals": 1,
"state_class": STATE_CLASS_MEASUREMENT
},
{
"type": "sensor",
"name": "inv_sec_current",
"registryID": 0x21,
"offset": 2,
"signed": True,
"dataSize": 2,
"endian": Endian.LITTLE,
"divider": 10,
"device_class": DEVICE_CLASS_CURRENT,
"unit_of_measurement": UNIT_AMPERE,
"accuracy_decimals": 1,
"state_class": STATE_CLASS_MEASUREMENT
},
{
"type": "sensor",
"name": "inv_freq",
Expand Down
2 changes: 2 additions & 0 deletions examples/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ daikin_rotex_uart:
name: Kompressor Drehzahl
inv_prim_current:
name: INV Primary Current
inv_sec_current:
name: INV Secondary Current
dhw_temp:
name: DHW tank temp
tv:
Expand Down

0 comments on commit cb34ade

Please sign in to comment.