Skip to content

Commit

Permalink
Added Standby mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
gazoodle committed Feb 6, 2025
1 parent 088edf4 commit bb788e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

v0.1.17
- Add supoort for lock mode if it exists
- Add support for standby mode

v0.1.16
- Using better async patterns which should alleviate some CPU usage issues and connection problems.
Expand Down
2 changes: 2 additions & 0 deletions custom_components/gecko/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ async def async_setup_entry(
]
if spaman.facade.eco_mode is not None:
entities.append(GeckoBinarySwitch(spaman, entry, spaman.facade.eco_mode))
if spaman.facade.standby is not None:
entities.append(GeckoBinarySwitch(spaman, entry, spaman.facade.standby))
async_add_entities(entities)


Expand Down

0 comments on commit bb788e6

Please sign in to comment.