add switch state

This commit is contained in:
Nicolò Balzarotti 2023-01-05 15:55:39 +01:00
parent b043ab9f25
commit 920822a74f
1 changed files with 1 additions and 0 deletions

1
app.py
View File

@ -42,6 +42,7 @@ def make_state():
'Acidity': 'pH', 'Acidity': 'pH',
'Humidity': 'RH', 'Humidity': 'RH',
'Durezza Acqua': 'BOH', 'Durezza Acqua': 'BOH',
'Switch': 'On/Off',
}, },
'found': sensors.list() 'found': sensors.list()
} }