Open Goose66 opened 5 months ago
I suppose if adding a new key would upset HomeAssistant for some reason, it could always be added to the "model" value, e.g.:
"model": "ratgdo-drycontact"
Alternatively, perhaps a REST interface at the configuration_url I could read to get the control protocol, if that is easier (or already exists).
Could the configured control mode be added to the discovery payload? Perhaps something like:
This would help my UDI Polyglot plugin better understand the capabilities of the ratgdo device with the connected GDO. I do appreciate the change already in place to only publish the light discovery messages if not "drycontact" mode.