Add native Python types support to templates (#41227)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
1 parent
cbb4324c84
commit
ee914366a8
29 files changed
+349
-282
No files matched your search
@@ -104,7 +104,7 @@ class TestNotifyDemo(unittest.TestCase):
|
||||
self.hass.block_till_done()
|
||||
last_event = self.events[-1]
|
||||
assert last_event.data[notify.ATTR_TITLE] == "temperature"
|
||||
assert last_event.data[notify.ATTR_MESSAGE] == "10"
|
||||
assert last_event.data[notify.ATTR_MESSAGE] == 10
|
||||
|
||||
def test_method_forwards_correct_data(self):
|
||||
"""Test that all data from the service gets forwarded to service."""
|
||||
|
||||
Reference in new issue
Block a user