Skip to content

Commit

Permalink
Allow merged to be bidirectional
Browse files Browse the repository at this point in the history
  • Loading branch information
magico13 committed Dec 25, 2024
1 parent 6f06d2c commit 7975aa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion custom_components/emporia_vue/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,9 @@ async def parse_flattened_usage_data(
fixed_usage,
)

bidirectional = "bidirectional" in info_channel.type.lower() or "merged" in info_channel.type.lower()
fixed_usage = fix_usage_sign(
channel_num, fixed_usage, "bidirectional" in info_channel.type.lower()
channel_num, fixed_usage, bidirectional
)

data[identifier] = {
Expand Down
2 changes: 1 addition & 1 deletion custom_components/emporia_vue/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"issue_tracker": "https://github.com/magico13/ha-emporia-vue/issues",
"requirements": ["pyemvue==0.18.6"],
"ssdp": [],
"version": "0.10.0",
"version": "0.10.1",
"zeroconf": []
}

0 comments on commit 7975aa6

Please sign in to comment.