mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix typo in arest sensor (#34833)
This commit is contained in:
parent
79c3148fc0
commit
3debb7cdf3
@ -205,7 +205,7 @@ class ArestData:
|
|||||||
try:
|
try:
|
||||||
if str(self._pin[0]) == "A":
|
if str(self._pin[0]) == "A":
|
||||||
response = requests.get(
|
response = requests.get(
|
||||||
f"{self._resource,}/analog/{self._pin[1:]}", timeout=10
|
f"{self._resource}/analog/{self._pin[1:]}", timeout=10
|
||||||
)
|
)
|
||||||
self.data = {"value": response.json()["return_value"]}
|
self.data = {"value": response.json()["return_value"]}
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user