Unhandled color switch type '{ onoff }

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
Flappie
Posts: 18
Joined: Tuesday 10 January 2017 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Unhandled color switch type '{ onoff }

Post 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?
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Unhandled color switch type '{ onoff }

Post 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
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest