#Python 'climate' entity created with MQTT discovery
1 messages · Page 1 of 1 (latest)
The entity is configured with a request sent to homeassistant/climate/aaa_hvac/config with the following payload:
{
"name": "aaa_hvac",
"unique_id": "AC000W012345678",
"modes": ["off", "heat", "cool", "heat_cool", "fan_only"],
"swing_modes": ["on", "off"],
"fan_modes": ["high", "medium", "low"],
"preset_modes": ["eco", "sleep", "activity"],
"preset_mode_command_topic": url("ac/preset_mode/set"),
"mode_command_topic": url("ac/mode/set"),
"mode_command_template": "{{ value if value==\"off\" else \"on\" }}",
"temperature_command_topic": url("ac/temperature/set"),
"fan_mode_command_topic": url("ac/fan/set"),
"swing_mode_command_topic": url("ac/swing/set"),
"precision": 0.5
}
Python 'climate' entity created with MQTT discovery