2b46734bd3
* 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 |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
test_binary_sensor.py | ||
test_cover.py | ||
test_notify.py | ||
test_sensor.py | ||
test_switch.py |