Hey @CeeCee thought I’d go ahead and try to create an MQTT set up with an esp32, few headaches having no idea what I was doing but got there in the end: MQTT no callback - PubSubClient - ESP32 snippet of the Arduino code/some pointers.
had to set
anonymous: from false to true in the configuration for MQTT in the supervisor menu
added the following to the configuration.yaml:
username: !secret mqttUserName
password: !secret mqttPassword
- platform: mqtt
name: "Office light"