Page 1 of 1

Unhandled color switch type '{ onoff }

Posted: Monday 14 March 2022 8:21
by Flappie
Hi everyone,

I have an Sonoff TH10 flashed with ESPHome.
Created this config in the YAML file for ESPHome:

switch:
- platform: gpio
pin: 12
name: "Slaapkamer - Lamp"
id: slaapkamer_lamp

The device is discovered in Domoticz and works fine, however logging says:
MQTT Autodiscovery HomeAssistant: Unhandled color switch type '{ onoff }' (Slaapkamer - Lamp)

any ideas?

Re: Unhandled color switch type '{ onoff }

Posted: Tuesday 05 April 2022 13:05
by gizmocuz
Is it possible you can post the 'config' MQTT object of this color switch ?
You can find this by using a application like MQTT Explorer to connect to your broker