Page 1 of 1

MQTT auto detect: Selector switch not discovered

Posted: Thursday 10 March 2022 15:34
by Ries
I am using today's domoticz beta on RPI 3B+, to check if this issue resolved.
mosquitto : latest version 1.x
My ESPhome devices has switches (succesfully auto discovered) and a selector switch. MQTT explorer shows the selector switch as follows:

Code: Select all

{"ops":["one","two","three"],"name":"Template select","stat_t":"esp82board/select/template_select/state","cmd_t":"esp82board/select/template_select/command","avty_t":"esp82board/status","uniq_id":"ESPselecttemplate_select","dev":{"ids":"500291ecb7b2","name":"esp82board","sw":"esphome v2022.2.5 Mar 10 2022, 14:22:59","mdl":"nodemcuv2","mf":"espressif"}}
Path: homeassistant/select/esp82board/template_select/config

I tried disabling/enabling de mqtt AD hardware: no result.

ESPhome Yaml:

Code: Select all

select:
  - platform: template
    name: "Template select"
    optimistic: true
    options:
      - one
      - two
      - three
    initial_option: two
Any help would be great

edit: domoticz log says: "component type 'select' received without options!" followed by the mqtt config I quote. Obviously options are received, but arent processed.

Re: MQTT auto detect: Selector switch not discovered

Posted: Saturday 12 March 2022 16:02
by Ries
Home assistant recognizes the select switch without issues

Re: MQTT auto detect: Selector switch not discovered

Posted: Tuesday 05 April 2022 13:13
by gizmocuz
The reason was that the short-name 'ops' was not yet supported... only 'options'
Could you please try beta 14304 to see if it is working now ?