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 |
||
---|---|---|
.. | ||
__init__.py | ||
binary_sensor.py | ||
const.py | ||
cover.py | ||
manifest.json | ||
notify.py | ||
sensor.py | ||
services.yaml | ||
switch.py | ||
utils.py |