Fix typo in arest sensor (#34833)
This commit is contained in:
1 parent
79c3148fc0
commit
3debb7cdf3
1 file changed
+1
-1
@@ -205,7 +205,7 @@ class ArestData:
|
||||
try:
|
||||
if str(self._pin[0]) == "A":
|
||||
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"]}
|
||||
except TypeError:
|
||||
|
||||
Reference in new issue
Block a user