Update rfxtrx tests to handle new config
This commit is contained in:
parent
74022a3978
commit
55b51cb3fa
6 changed files with 179 additions and 111 deletions
|
@ -42,7 +42,6 @@ def _valid_sensor(value):
|
|||
for key, device in value.items():
|
||||
# Still accept old configuration
|
||||
if 'packetid' in device.keys():
|
||||
print(key, device.keys(), device, config)
|
||||
msg = 'You are using an outdated configuration of the rfxtrx ' +\
|
||||
'sensor, {}. Your new config should be:\n{}: \n\t name:{}\n'\
|
||||
.format(key, device.get('packetid'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue