Hi! I’ve recently noticed that this warning appeared in my system’s logs:
Logger: homeassistant.components.mqtt.climate
Source: helpers/config_validation.py:849
Integration: MQTT (documentation, issues)
First occurred: 05:31:11 (2 occurrences)
Last logged: 05:31:11
The 'power_command_topic' option near /config/configuration.yaml:95 is deprecated, please remove it from your configuration
The 'power_state_topic' option near /config/configuration.yaml:95 is deprecated, please remove it from your configuration
Here is my code, I have read the docs but, if I’ve understood that the power_command_topic
for power off should be merged into mode_command_topic
, what should I do with the power on command?
Thanks!
mqtt:
climate:
- name: Bimar MQTT
modes: # Default values [“auto”, “off”, “cool”, “heat”, “dry”, “fan_only”]
- "off" # equivalent dps 1 = "0", delayed 10ms in Node-Red
- "cool" # equivalent dps 101 = "0" delayed 5ms in Node-Red
- "heat" # equivalent dps 101 = "1" delayed 5ms in Node-Red
- "dry" # equivalent dps 101 = "2" delayed 5ms in Node-Red
swing_modes:
- "on" # no delay in Node-Red
- "off" # no delay in Node-Red
power_command_topic: "tuya/bimar_local/power/set" # Set Power on/off from HA
power_state_topic: "tuya/bimar_local/power/state" # Read Power State in HA
mode_command_topic: "tuya/bimar_local/hvac_mode/set" # Set hvac modes (hvac_off converted in power off)
mode_state_topic: "tuya/bimar_local/hvac_mode/state" # Read current hvac mode
current_temperature_topic: "tuya/bimar_local/temperatura_ambiente/state" # Read room temperature
temperature_command_topic: "tuya/bimar_local/temperatura_impostata/set" # Set terget temperature
temperature_state_topic: "tuya/bimar_local/temperatura_impostata/state" # Read terget temperature
swing_mode_command_topic: "tuya/bimar_local/oscillazione/set" # Set swing mode
swing_mode_state_topic: "tuya/bimar_local/oscillazione/state" # Read swing mode
temperature_unit: C # measurement unit
temp_step: 1 # step temperature increase
precision: 1.0 # hmmm
max_temp: 35 # max thermostat temp
min_temp: 15 # min thermostat temp
### BIMAR MQTT POWER SENSOR - FOR AUTOMATIONS
sensor:
- name: Bimar MQTT Power
state_topic: "tuya/sensor/hvac/power"