Hello,
I’m a complete newbie to home assistant… I install HA in a RPI and install and configure Mosquitto.
Now I try to integrate a switch…
In configuration.yaml add:
mqqt: !include mqtt.yaml
And file mqtt.yaml:
switch:
- name: "output-1"
unique_id: "output-1"
state_topic: "server/XXXXXXXX/state"
command_topic: "server/XXXXXXXX/set"
payload_on: '{"relay1":{"on":1}}'
payload_off: '{"relay1":{"on":0}}'
value_template: "{{ value_json.relay1.on }}"
state_on: 1
state_off: 0
Always getting this error:
Getting error Configuration is not valid: Integration error: mqqt - Integration ‘mqqt’ not found
Can someone help please?
thanks in advance