Silla Prism MQTT discovery generator

Builds a Home Assistant script that publishes MQTT device discovery through mqtt.publish. An example automation that can run the script at startup is shown separately.

  1. Copy or download the script YAML.
  2. Paste it into scripts.yaml (omit the top-level script: key if that file is already included), or merge it into configuration.yaml.
  3. Reload scripts, then run the script once to publish discovery.
  4. Do not use this together with the custom silla_prism integration on the same serial.

Fill the form to generate a script.


      

Example Optional automation to run the script when Home Assistant starts or MQTT comes online. Reference only — it is not included in copy or download.