Files
core/homeassistant/components
Steven RollasonandPaulus Schoutsen cfd8695aaa Fix command_template sensor value_template not being used if json_attributes set (#90603)
* Allow value_template to be used if json_attributes set

* Set state to None if no value_template and json_attributes used

* Refactor check for no value_template when json_attributes used

* Updated and additional unit test

* Updated to set _attr_native_value and return if value_template is None

* Update unit test docstring

* Updated test docstring based on feedback
2023-04-06 20:49:32 +00:00
..
2023-03-29 11:33:27 +02:00
2023-03-16 19:13:42 -10:00
2023-03-08 08:26:34 +01:00
2023-03-28 17:11:48 +02:00
2023-04-03 16:50:58 -04:00
2023-03-11 20:13:27 +01:00
2023-04-06 13:21:04 -04:00
2023-03-25 12:31:01 -10:00
2023-03-30 10:39:58 -04:00
2023-03-11 09:15:05 +01:00
2023-03-13 11:16:45 +01:00
2023-04-06 20:44:52 +00:00
2023-03-27 10:00:41 +02:00
2023-04-05 17:36:44 +02:00
2023-03-28 16:49:32 +02:00
2023-03-27 14:06:30 +02:00
2023-03-08 10:56:40 -10:00
2023-03-28 08:46:16 +02:00
2023-03-28 13:19:52 +02:00
2023-03-29 06:36:01 -10:00
2023-03-08 22:57:54 +01:00
2023-03-06 16:16:31 +01:00
2023-03-22 17:02:49 +01:00
2023-03-25 18:00:15 +01:00
2023-03-08 22:39:33 +01:00
2023-03-23 10:05:08 +01:00
2023-03-09 14:18:19 +01:00
2023-03-26 20:03:03 +02:00
2023-03-27 23:11:49 +02:00
2023-03-22 12:01:04 +01:00
2023-04-04 21:07:12 -04:00