Handle numeric device id for rfxtrx devices (#2740)

This commit is contained in:
Daniel Høyer Iversen authored and Paulus Schoutsen committed 2016-08-07 17:15:39 -07:00
1 parent 0377338a81
commit 23472cb44d
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ class TestSwitchRfxtrx(unittest.TestCase):
'switch': {'platform': 'rfxtrx',
'automatic_add': True,
'devices':
{'710000141010170': {
{710000141010170: {
'name': 'Test',
rfxtrx_core.ATTR_FIREEVENT: True}
}}}))