1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Handle numeric device id for rfxtrx devices (#2740)

This commit is contained in:
Daniel Høyer Iversen
2016-08-08 02:15:39 +02:00
committed by Paulus Schoutsen
parent 0377338a81
commit 23472cb44d
2 changed files with 2 additions and 1 deletions

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}
}}}))