Add native Python types support to templates (#41227)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Franck NijhofandPaulus Schoutsen authored and GitHub committed 2020-10-07 00:05:52 +02:00
1 parent cbb4324c84
commit ee914366a8
29 files changed
+349 -282

No files matched your search

+1 -1
View File
@@ -837,7 +837,7 @@ async def test_sending_mqtt_color_temp_command_with_template(hass, mqtt_mock):
mqtt_mock.async_publish.assert_has_calls(
[
call("test_light_color_temp/set", "on", 0, False),
call("test_light_color_temp/color_temp/set", "10", 0, False),
call("test_light_color_temp/color_temp/set", 10, 0, False),
],
any_order=True,
)