mirror of
https://github.com/bricebou/weewx-netatmo.git
synced 2025-01-18 12:01:11 +01:00
just to be safe
This commit is contained in:
parent
dc7fed55a9
commit
f38473fa75
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class NetatmoDriver(weewx.drivers.AbstractDevice):
|
|||
for n in self.sensor_map:
|
||||
label = self._find_match(self.sensor_map[n], data.keys())
|
||||
if label:
|
||||
packet[n] = data[label]
|
||||
packet[n] = data.get(label)
|
||||
return packet
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue