Skip to content

Commit

Permalink
correct a bug with on_open callback in smart system and correct a bug…
Browse files Browse the repository at this point in the history
… in the binary sensor
  • Loading branch information
Jérémie Klein committed Jun 22, 2020
1 parent d642bc2 commit 2e44340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/gardena_smart_system/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def should_poll(self) -> bool:
"""No polling needed for a sensor."""
return False

def update_callback(self):
def update_callback(self, status):
"""Call update for Home Assistant when the device is updated."""
self.schedule_update_ha_state(True)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/gardena_smart_system/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"issue_tracker": "https://github.com/py-smart-gardena/hass-gardena-smart-system/issues",
"dependencies": [],
"codeowners": ["@py-smart-gardena"],
"requirements": ["py-smart-gardena==0.7.5"]
"requirements": ["py-smart-gardena==0.7.6"]
}

0 comments on commit 2e44340

Please sign in to comment.