Fix Netatmo rain gauge precision (#25036)
This commit is contained in:
parent
36ed725ab4
commit
8652c84745
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ class NetatmoSensor(Entity):
|
|||
elif self.type == 'rain':
|
||||
self._state = data['Rain']
|
||||
elif self.type == 'sum_rain_1':
|
||||
self._state = data['sum_rain_1']
|
||||
self._state = round(data['sum_rain_1'], 1)
|
||||
elif self.type == 'sum_rain_24':
|
||||
self._state = data['sum_rain_24']
|
||||
elif self.type == 'noise':
|
||||
|
|
Loading…
Add table
Reference in a new issue