mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Fix typo in arest sensor (#34833)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user