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:
light_upstairs_ceiling:
widget_type: light
entity: light.upstairs_ceiling
title: "Upstairs ceiling"
And this is the light in my Home Assistant configuration.yaml:
light:
- 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