Tried the following but getting errors on restart.
climate:
- platform: mqtt
name: thermostat1
# current_operation:
# - "off"
# - "idle"
# - "heat"
# - "cool"
fan_modes_state:
- "on"
- "auto"
hold_state:
- "on"
- "off"
mode_state:
- "cool"
- "heat"
- "auto"
- "off"
# current_operation_topic: "omnilink/thermostat1/current_operation"
current_temperature_topic: "omnilink/thermostat1/current_temperature"
temperature_heat_state_topic: "omnilink/thermostat1/temperature_heat_state"
temperature_cool_state_topic: "omnilink/thermostat1/temperature_cool_state"
mode_state_topic: "omnilink/thermostat1/mode_state"
fan_mode_state_topic: "omnilink/thermostat1/fan_mode_state"
hold_state_topic: "omnilink/thermostat1/hold_state"
2019-10-18 18:22:09 ERROR (MainThread) [homeassistant.config] Invalid config for [climate.mqtt]: [fan_modes_state] is an invalid option for [climate.mqtt]. Check: climate.mqtt->fan_modes_state. (See /config/configuration.yaml, line 201). Please check the docs at
https://home-assistant.io/components/climate.mqtt/
2019-10-18 18:22:17 ERROR (MainThread) [homeassistant.components.mqtt.climate] Exception in async_discover when dispatching 'mqtt_discovery_new_climate_mqtt': ({'current_temperature_topic': 'omnilink/thermostat1/current_temperature', 'temperature_low_state_topic': 'omnilink/thermostat1/temperature_heat_state', 'temperature_low_command_topic': 'omnilink/thermostat1/temperature_heat_command', 'temperature_high_state_topic': 'omnilink/thermostat1/temperature_cool_state', 'temperature_high_command_topic': 'omnilink/thermostat1/temperature_cool_command', 'min_temp': '45', 'max_temp': '95', 'mode_state_topic': 'omnilink/thermostat1/mode_state', 'mode_command_topic': 'omnilink/thermostat1/mode_command', 'modes': ['auto', 'off', 'cool', 'heat'], 'fan_mode_state_topic': 'omnilink/thermostat1/fan_mode_state', 'fan_mode_command_topic': 'omnilink/thermostat1/fan_mode_command', 'fan_modes': ['auto', 'on', 'cycle'], 'hold_state_topic': 'omnilink/thermostat1/hold_state', 'hold_command_topic': 'omnilink/thermostat1/hold_command', 'name': 'Thermostat 1', 'state_topic': None, 'availability_topic': 'omnilink/status', 'platform': 'mqtt'},)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/climate.py", line 244, in async_discover