#科龙空调 开始
- platform: tasmota_irhvac
<span style="background-color: rgb(255, 140, 0);">name: "kelon_AC"
unique_id: kelon_ac
command_topic: "cmnd/tasmota_D5223A/irhvac"</span>
# Pick one of the following:
# State is updated when the tasmota device receives an IR signal (includes own transmission and original remote)
# useful when a normal remote is in use alongside the tasmota device, may be less reliable than the second option.
#state_topic: "<span style="background-color: rgb(244, 164, 96);">tele/tasmota_D5223A/RESULT"</span>
# State is updated when the tasmota device completes IR transmissionm, should be pretty reliable.
state_topic: "<span style="background-color: rgb(244, 164, 96);">stat/tasmota_D5223A/RESULT</span>"
# Optional second state topic, This option allows you to subscribe to both "tele" and "stat" messages.
#state_topic_2: "<span style="background-color: rgb(244, 164, 96);">stat/tasmota_D5223A/RESULT</span>"
# Uncomment if your 'available topic' of Tasmota IR device are different (if device in HA is disabled)
#availability_topic: <span style="background-color: rgb(255, 165, 0);">"tele/tasmota_D5223A/LWT"</span>
temperature_sensor: sensor.kitchen_temperature
humidity_sensor: sensor.kitchen_humidity #optional - default None
power_sensor: binaly_sensor.kitchen_ac_power #optional - default None
vendor: "<span style="background-color: rgb(255, 165, 0);">WHIRLPOOL_AC"#空调的协议</span>
# When operating grouped devices at the same time, MQTT commands are intentionally delayed to prevent multiple devices
# from performing the same operation at the same time. This allows the high current peaks to be shifted.
#当同时操作分组设备时,MQTT命令会故意延迟,以防止多个设备
#防止同时执行相同的操作。这允许高电流峰值发生偏移。
mqtt_delay: 0.0 #optional - default 0 int or 0.0 float value in [sec].
min_temp: 18 #optional - default 16 int value
max_temp: 32 #optional - default 32 int value
target_temp: 26 #optional - default 26 int value
initial_operation_mode: "off" # optional - default "off" string value (one of the "supported_modes")
away_temp: 24 #离开模式的温度optional - default 24 int value
precision: 1 #精度optional - default 1 int or float value. Can be set to 1, 0.5 or 0.1
#空调工作模式
supported_modes:
- "heat"
- "cool"
- "dry"
- "fan_only" # Use "fan_only" even if Tasmota shows "Mode":"Fan"
- "auto"
- "off" #Turns the AC off - Should be in quotes
# Some devices have "auto" and "fan_only" switched
# If the following two lines are uncommented, "auto" and "fan" shoud be commented out
#- "auto_fan_only" #if remote shows fan but tasmota says auto
#- "fan_only_auto" #if remote shows auto but tasmota says fan
#风扇转速
supported_fan_speeds:
# Some devices say max,but it is high, and auto which is max
# If you uncomment the following two, you have to comment high and max
# - "auto_max" #woud become max
# - "max_high" #would become high
#- "on"
#- "off"
- "low"
- "medium"
- "high"
#- "middle"
#- "focus"
#- "diffuse"
#- "min"
#- "max"
- "auto"
#风向*
supported_swing_list:
- "off"
- "vertical" #up to down
# - "horizontal" # Left to right
# - "both"
default_quiet_mode: "Off" #optional - default "Off" string value
default_turbo_mode: "Off" #optional - default "Off" string value
default_econo_mode: "Off" #optional - default "Off" string value
hvac_model: "DG11J13A" #optional - default "1" string value
celsius_mode: "On" #optional - default "On" string value
default_light_mode: "Off" #optional - default "Off" string value
default_filter_mode: "Off" #optional - default "Off" string value
default_beep_mode: "Off" #optional - default "Off" string value
default_sleep_mode: "-1" #optional - default "-1" string value
default_swingv: "high" #optional - default "" string value
default_swingh: "left" #optional - default "" string value
keep_mode_when_off: False #optional - default False boolean value : Must be True for MITSUBISHI_AC, ECOCLIM, etc.
toggle_list: #optional - default []
# The toggled property is a setting that does not retain the On state.
# Set this if your AC properties are toggle function.
#- Beep
#- Econo
#- Filter
#- Light
#- Quiet
- Sleep
#- SwingH
- SwingV
#- Turbo
# When turning off some devices with their remote control they are set to the lowest temperature
# and this is shown on the thermostat card. Setting `ignore_off_temp` value to True will keep the last target temperature displayed on the card.
#ignore_off_temp: False #optional - default False boolean value
# Example configuration.yaml entry