gysmo38 / mitsubishi2MQTT

Mitsubishi to MQTT with ESP8266 module
GNU Lesser General Public License v2.1
413 stars 141 forks source link

Exception in Home Assistant #223

Closed heffneil closed 1 year ago

heffneil commented 1 year ago

I upgraded to the latest version and suddenly seeing this in my HA Logs:

Exception in handle_target_temperature_received when handling msg on 'mitsubishi2mqtt/Minisplit/state': '{"roomTemperature":73,"temperature":72,"fan":"AUTO","vane":"5","wideVane":"|","mode":"cool","action":"cooling","compressorFrequency":14}' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/debug_info.py", line 44, in wrapper msg_callback(msg) File "/usr/src/homeassistant/homeassistant/components/mqtt/climate.py", line 681, in handle_target_temperature_received handle_climate_attribute_received( File "/usr/src/homeassistant/homeassistant/components/mqtt/climate.py", line 648, in handle_climate_attribute_received payload = render_template(msg, template_name) File "/usr/src/homeassistant/homeassistant/components/mqtt/climate.py", line 616, in render_template return template(msg.payload) File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 235, in async_render_with_possible_json_value self._value_template.async_render_with_possible_json_value( File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 716, in async_render_with_possible_json_value return _render_with_context(self.template, compiled, variables).strip() File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2164, in _render_with_context return template.render(kwargs) File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "