Files
home-assistant-core/homeassistant/helpers
Phil Bruckner 935e5c67a3 Handle non-string values in JSON renderer (#20233)
Handle the case of async_render_with_possible_json_value's value argument
being something other than a string. This can happen, e.g., when using the
SQL sensor to extract a datetime column such as last_changed and also using
its value_template to convert that datetime to another format. This was
causing a TypeError from json.loads, but async_render_with_possible_json_value
was only catching ValueError's.
2019-01-20 16:46:14 -08:00
..
2018-09-11 11:21:48 +02:00
2018-11-06 12:41:15 +01:00
2018-10-31 09:10:28 +01:00
2018-02-11 09:20:28 -08:00
2018-12-06 11:54:44 +01:00
2018-09-11 11:21:48 +02:00
2018-12-13 12:21:16 +01:00
2019-01-11 11:52:07 -08:00
2018-11-04 22:46:42 +01:00