Skip to content

Commit

Permalink
Fix status
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Jul 18, 2022
1 parent 68971bd commit b91ebdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/pdns/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def __init__(self, coordinator):
@property
def is_on(self):
"""Return true if the binary sensor is on."""
return self.coordinator.data.get("public_ip") is None
return self.coordinator.data.get("public_ip") is not None
2 changes: 1 addition & 1 deletion custom_components/pdns/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"issue_tracker": "https://github.com/Cyr-ius/hass-pdns/issues",
"codeowners": ["@Cyr-ius"],
"iot_class": "cloud_polling",
"version": "2.2.2"
"version": "2.3"
}

0 comments on commit b91ebdf

Please sign in to comment.