本帖最后由 qingyu1993 于 2022-1-6 09:52 编辑
可以控制啊 ,用了半年了没问题啊
试试这个,把xxx换成空调的mac地址:
climate:
- action_topic: /aircon/xxx/homeassistant/setz
send_if_off: true
availability_topic: /aircon/LWT
current_temperature_topic: /aircon/xxx/ambient_temp/value
device:
identifiers: xxx
manufacturer: Broadlink
model: Aircon
name: Master bedroom
sw_version: 1.1.3
fan_mode_command_topic: /aircon/xxx/fanspeed_homeassistant/set
fan_mode_state_topic: /aircon/xxx/fanspeed_homeassistant/value
fan_modes:
- Auto
- Low
- Medium
- High
- Turbo
- Mute
max_temp: 32.0
min_temp: 16.0
mode_command_topic: /aircon/xxx/mode_homeassistant/set
mode_state_topic: /aircon/xxx/mode_homeassistant/value
modes:
- "off"
- cool
- heat
- fan_only
- dry
name: Master bedroom
payload_available: online
payload_not_available: offline
platform: mqtt
precision: 0.5
temp_step: 0.5
temperature_command_topic: /aircon/xxx/temp/set
temperature_state_topic: /aircon/xxx/temp/value
temperature_unit: C
unique_id: xxx
|