(moved to Development)
I set up a new vacuum cleaner using Valetudo (which configures the Home Assistant integration using MQTT autodiscovery). Under Settings
→ Devices & Services
→ MQTT
→ my vacuum → Automations
, when I click the plus button, it brings up a dialog saying “Create automation with device”. That dialog comes pre-populated with a number of triggers, conditions, and actions, such as “Wi-Fi configuration value changes”, “mop attachment is off”, and “Change Water grade option” (respectively). How are those suggestions populated?
There is string-valued sensor for “error message” which is the empty string if there is no error and some message if there is an error. I would like to have a trigger for “error message changed”. I could not find information in the Home Assistant documentation about what causes an entity to appear in that menu. Also, looking at the configuration in the .storage
directory, I did not see any difference in configuration between the error message sensor and the Wi-Fi configuration sensor.
Are there configuration options which can be provided through MQTT autodiscovery which would add triggers and conditions on this sensor value?