Files
core/tests/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-28 14:59:03 +02:00
2023-03-22 20:00:47 -04:00
2023-03-28 17:11:48 +02:00
2023-03-01 12:29:57 -05:00
2023-03-25 12:31:01 -10:00
2023-03-10 12:06:50 +01:00
2023-03-01 21:19:20 +01:00
2023-03-02 12:33:04 +01:00
2023-03-30 10:39:58 -04:00
2023-04-04 21:07:17 -04:00
2023-03-22 20:00:47 -04:00
2023-03-07 11:35:48 +01:00
2023-03-28 16:49:32 +02:00
2023-02-22 10:18:58 +01:00
2023-03-22 20:00:47 -04:00
2023-03-28 08:46:16 +02:00
2023-03-07 11:35:48 +01:00
2023-03-01 16:33:32 +01:00
2023-03-10 12:06:50 +01:00
2023-03-08 10:53:08 -05:00
2023-03-10 12:06:50 +01:00
2023-02-22 13:55:44 +01:00
2023-03-22 20:00:47 -04:00
2023-03-28 16:29:24 +02:00
2023-03-28 11:54:16 +02:00
2023-03-22 20:00:47 -04:00
2023-03-04 22:26:16 +01:00
2023-03-26 07:24:43 +08:00
2023-03-22 20:00:47 -04:00
2023-03-15 10:07:12 +01:00
2023-03-27 20:00:54 +02:00
2023-02-23 22:15:20 -05:00
2023-04-06 14:34:24 -04: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