Fix typo in arest sensor (#34833)

pull/34836/head
Brendon Go 2020-04-28 17:25:32 -07:00 committed by GitHub
parent 79c3148fc0
commit 3debb7cdf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: