I have about 3 sonoff (Tasmota) switches that i am trying to integrate with my Home assistant. I have added the relevant lines for all switches but when i restart the HA, only the last one appears. I am also getting the following error:
duplicated mapping key at line 94, column -220:
switch:
^
Does anyone know what i can do in this case?
I’m far from an expert ( in fact Im a complete novice) but in an attempt to ‘give something back’
Looks like your formatting may be out… see my example. - I think you only need the one heading of switch, then indent platform with the ‘-’ mark. - Ive learnt one thing with Yaml and coding ( im no coder BTW) but formatting and syntax is everything.
got it resolved, it some how had the wrong IP in known_devices. once I went integration and removed this, restarted and then add the correct IP for broker in configuration.yaml it all started coming alive.
G