Enforce entity attribute types
This commit is contained in:
parent
06b4fcc2cf
commit
a9c6f8c1d9
12 changed files with 36 additions and 35 deletions
|
@ -20,7 +20,7 @@ REQUIREMENTS = ['http://github.com/mala-zaba/Adafruit_Python_DHT/archive/'
|
|||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
SENSOR_TYPES = {
|
||||
'temperature': ['Temperature', ''],
|
||||
'temperature': ['Temperature', None],
|
||||
'humidity': ['Humidity', '%']
|
||||
}
|
||||
# Return cached results if last scan was less then this time ago
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue