Wrap found target in list (#3809)

* Wrap found target in list

* Fix test_messages_to_targets_route
This commit is contained in:
Robbie Trencheny authored and Paulus Schoutsen committed 2016-10-10 22:31:15 -07:00
1 parent b19ec21e88
commit 9b98d470c2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ def setup(hass, config):
kwargs[ATTR_TITLE] = title.render()
if targets.get(call.service) is not None:
kwargs[ATTR_TARGET] = targets[call.service]
kwargs[ATTR_TARGET] = [targets[call.service]]
else:
kwargs[ATTR_TARGET] = call.data.get(ATTR_TARGET)