Skip to content

Commit

Permalink
Add 4 way valve
Browse files Browse the repository at this point in the history
  • Loading branch information
wrfz committed Dec 6, 2024
1 parent 1392b66 commit 4bcce39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/daikin_rotex_uart/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@ def get_fan_divider():
"state_class": STATE_CLASS_MEASUREMENT,
"icon": "mdi:pipe-valve"
},
{
"type": "binary_sensor",
"name": "4_way_valve",
"registryID": 0x30,
"offset": 11,
"handle_lambda": """
return (data[0] & 0x80) > 0;
""",
"icon": "mdi:numeric-4-circle-outline"
},
{
"type": "binary_sensor",
"name": "buh1",
Expand Down
2 changes: 2 additions & 0 deletions examples/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,5 @@ daikin_rotex_uart:
name: Heizstab Speicher
press_eq:
name: Druckausgleich
4_way_valve:
name: 4-Wege-Ventil

0 comments on commit 4bcce39

Please sign in to comment.