mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-22 06:58:17 +01:00
Update __init__.py
This commit is contained in:
parent
5874b0bda5
commit
7c94833634
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class HTTPSensor(CBPiSensor):
|
|||
try:
|
||||
cache_value = cache.pop(self.props.get("Key"), None)
|
||||
if cache_value is not None:
|
||||
self.value = cache_value
|
||||
self.value = float(cache_value)
|
||||
self.push_update(self.value)
|
||||
except Exception as e:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue