Widget definition not found when adding light

I’m trying to add a light to my dashboard but get a grey widget with the text “Widget definition not found”, can someone give me a clue why this is not working?


I can toggle the light just fine from the standard Home Assistant GUI:


This is the widget in my dash-file:

  widget_type: light
  entity: light.upstairs_ceiling
  title: "Upstairs ceiling"

And this is the light in my Home Assistant configuration.yaml:

  - platform: mqtt
    name: "Upstairs ceiling"
    state_topic: "home/RF2toMQTT/CODE_4752378/UNIT_12/+/+"
    command_topic: "home/commands/MQTTtoRF2/CODE_4752378/UNIT_12/PERIOD_262"
    payload_on: "1"
    payload_off: "0"
    optimistic: false
    retain: true

Gah… nevermind, it was just a typo… sorry for wasting time :man_facepalming:

Can I delete this topic somehow?

how you fix that I have the problem

I had just misspelled the widget name when adding it to my dashboard.

Nailed it. Dunno how. Probably a typo. :slight_smile: