123
Senior Member
Hmm. What's that all about? MQTT Switch does not even support brightness_state_topic. It's MQTT Light that supports it.grantlewis said:grantlewis, on 07 Feb 2019 - 13:58, said:
Looks like 0.87.0 only makes matters worse. In addition to the loss of thermostat control, 16 OmniPro flags, which were previously operating as switches in 0.84.6, are unrecognized.
...
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/switch.py", line 66, in async_discover
...
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['brightness_state_topic']
https://www.home-assistant.io/components/light.mqtt/#brightness_state_topic
I wonder if it has anything to do with this breaking change in 0.87:
In other words, in previous releases, if you included an invalid MQTT parameter (like specifying a brightness_state_topic for a switch component), it would simply be ignored. As of 0.87, it no longer ignores them.Quote
MQTT platforms will now flag mistyped configs from configuration.yaml correctly as invalid, instead of just ignoring them. (@emontnemery - #20562) (mqtt docs) (breaking change)