Update rfxtrx tests to handle new config

This commit is contained in:
Daniel 2016-04-23 19:57:36 +02:00
parent 74022a3978
commit 55b51cb3fa
6 changed files with 179 additions and 111 deletions

View file

@ -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'),