mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 23:10:28 +00:00
Update rfxtrx tests to handle new config
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user