Emulated hue config

Hello I have been trying to make this work for a few days and I keep getting the message invalid config could some please advise what I am doing wrong. see my config file bellow

light_bed is an item under entities, so it should be indented.
“friendly_name” should be “name”, and it is an item under light_bed, so it should be indented further in from light_bed.

please don’t post screenshots of code. post actual properly formatted text.

it would have been easier to copy/paste/fix your code than trying to describe what you need to do to fix it yourself.

At this point in time, I would consider the Emulated Hue integration to be virtually deprecated. Instead, have a look at Home Assistant Matter Hub.