Add MQTT encoding parameter for all subscribed topics (#62263)
* Add encoding parameter for all subscribable topics * test setup encoding incoming payload * remove support for device_tracker and tag+tests
This commit is contained in:
parent
3ca18922e6
commit
dd0193052c
33 changed files with 737 additions and 5 deletions
|
@ -412,6 +412,7 @@ class MqttClimate(MqttEntity, ClimateEntity):
|
|||
"topic": self._topic[topic],
|
||||
"msg_callback": msg_callback,
|
||||
"qos": qos,
|
||||
"encoding": self._config[CONF_ENCODING] or None,
|
||||
}
|
||||
|
||||
def render_template(msg, template_name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue