Hi All, i’m a noob
Trying to configure a SONOFF Basic (tasmota firmware) into Home Assistant. Installed Mosquitto Add-ON from Hass.io and started. Configured my SONOFF (configuration>>Configure MQTT>>filled HOST, User, Password and Topic). Into configuration.yaml i’ve wrote:
mqtt
mqtt:
broker: core-mosquitto
username: username (the same in the sonoff configuration)
password: password (the same in the sonoff configuration)
light:
- platform: mqtt
name: “ingresso”
command-topic: “cmnd/sonoff-ingresso/power”
state-topic: “stat/sonoff-ingresso/POWER”
qos: 1
payload_on: “ON”
payload_off: “OFF”
retain: true
When i check the configuration i receive the following error:
Invalid config for [light.mqtt]: required key not provided @ data[‘command_topic’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/light.mqtt/
and, obviously i cannot see my sonoff in the main page.
Can you hel me?
Thank you in advance
Marcello