This commit is contained in:
Liz 2024-03-28 12:17:23 -04:00
parent 5c042d2c94
commit 50ef265651

View file

@ -38,13 +38,13 @@ print("Connected!")
try:
sht4x_temp = aio.feeds('temp-feed')
except: # pylint: disable = broad-except
except: # pylint: disable = bare-except
feed = Feed(name='temp-feed')
sht4x_temp = aio.create_feed(feed)
try:
sht4x_humid = aio.feeds('humid-feed')
except: # pylint: disable = broad-except
except: # pylint: disable = bare-except
feed = Feed(name='humid_feed')
sht4x_humid = aio.create_feed(feed)