Skip to content

Commit

Permalink
Merge pull request #60 from peribeir/peribeir/issue54
Browse files Browse the repository at this point in the history
Device ping
  • Loading branch information
peribeir authored Dec 2, 2022
2 parents fd6b940 + 623a317 commit 17b748f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions custom_components/rademacher/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ def entity_category(self):
def entity_registry_enabled_default(self):
return False

@property
def available(self):
return True

async def async_press(self) -> None:
device: HomePilotDevice = self.coordinator.data[self.did]
await device.async_ping()
Expand Down
2 changes: 1 addition & 1 deletion custom_components/rademacher/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "rademacher",
"name": "Rademacher Homepilot",
"version": "1.9.6",
"version": "1.9.7",
"documentation": "https://github.com/peribeir/homeassistant-rademacher",
"issue_tracker": "https://github.com/peribeir/homeassistant-rademacher/issues",
"requirements": ["pyrademacher==0.6.9"],
Expand Down

0 comments on commit 17b748f

Please sign in to comment.