hello,
I am using the following automation to turn on a floor light with a PIR sensor.
Everything works as expected apart that I can’t set brightness to the desired level.
Is pretty strange, as I am using the same configuration under Developers Tools/Services and it works, but when I try it within an automation it doesn’t.
What type/model of bulb is it? Why do you have the entity listed under both target and data? Did you check the log for errors after attempting to fire the automation ? Try making an automation with the just the light action and see if it works… you seem to have a lot going on there…
So that bulb is not listed as being supported… https://www.home-assistant.io/integrations/tplink/
I would, as I mentioned try an automation with just the turn_on service and using the format in the documentation… but also I did come across this thread… maybe worth a shot trying to have two actions, one for the on and one for the brightness… ?? TP-link bulb data on 'turn_on' not happenning?