@raymonvdm wrote:
I
m trying to switch from HomeSeer to HomeAssistant but i
m having trouble understanding yaml. So i`m migrating slowly and one issue at a time.One of the projects is flashing a H801 with Tasmota and adding it to Home Assistant. I seem to be successfull in flashing and connecting the H801 to the MQTT broker (running on dedicated VM) and connecting Home Assistant to the MQTT broker.
But i cannot get the example for the H801 working
I`m experiencing the following errors
Testing configuration at /home/homeassistant/.homeassistant/ Failed config General Errors: - Component error: introduction - Integration 'introduction' not found. switch.mqtt: - Invalid config for [switch.mqtt]: [state_value_template] is an invalid option for [switch.mqtt]. Check: switch.mqtt->state_value_template. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/mqtt/ - platform: mqtt availability_topic: tele/h801/woonkamer_plank/LWT brightness_command_topic: cmnd/h801/woonkamer_plank/Dimmer brightness_scale: 100 brightness_state_topic: tele/h801/woonkamer_plank/STATE brightness_value_template: {{value_json.Dimmer}} color_temp_command_topic: cmnd/h801/woonkamer_plank/CT color_temp_state_topic: tele/h801/woonkamer_plank/STATE color_temp_value_template: {{value_json.CT}} command_topic: cmnd/h801/woonkamer_plank/POWER effect_command_topic: cmnd/h801/woonkamer_plank/Scheme effect_list: [source /home/homeassistant/.homeassistant/switch/mqtt.yaml:21] - 0 - 1 - 2 - 3 - 4 effect_state_topic: tele/h801/woonkamer_plank/STATE effect_value_template: {{value_json.Scheme}} name: Woonkamer_Plank_Ledstrip on_command_type: brightness payload_available: Online payload_not_available: Offline payload_off: OFF payload_on: ON qos: 1 retain: False rgb_command_topic: cmnd/h801/woonkamer_plank/Color2 rgb_state_topic: tele/h801/woonkamer_plank/STATE rgb_value_template: {{value_json.Color.split(',')[0:3]|join(',')}} state_topic: tele/h801/woonkamer_plank/STATE state_value_template: {{value_json.POWER}} Successful config (partial) switch.mqtt: root@domo02:/home/homeassistant/.homeassistant#
Posts: 2
Participants: 2