Fix typo in arest sensor (#34833)
This commit is contained in:
parent
79c3148fc0
commit
3debb7cdf3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue