I try to add some attributes to my mqtt climate and modify my config.yaml like that :
- platform: mqtt
name: "Confort Bureau"
modes: ["off", "heat"]
current_temperature_topic: "sensor/sdj/temperature"
json_attributes_topic: "/climate/bureau/attr"
temperature_command_topic: "/climate/bureau/attr"
temperature_command_template: "{{ value_json.temperature }}"
temperature_state_topic: "/climate/bureau/attr"
temperature_state_template: "{{ value_json.temperature }}"
mode_state_topic: "/climate/bureau/attr"
mode_state_template: "{{ value_json.mode }}"
mode_command_topic: "/climate/bureau/attr"
mode_command_template: "{{ value_json.mode }}"
precision: 0.1
retain: true
qos: 1
I recieve this error, and I don’t undurstand,
Invalid config for [climate.mqtt]: [temperature_command_template] is an invalid option for [climate.mqtt]. Check: climate.mqtt->temperature_command_template. (See ?, line ?).
could you help me please?