Invalid service data for light.turn_on: Entity ID ordereddict([('brightness_pct', 10)]) is an invalid entity id for dictionary value @ data['entity_id']. Got ['light.bedroom', OrderedDict([('brightness_pct', 10)]), 'light.top_of_stairs', OrderedDict([('brightness_pct', 10)])]
# Example configuration.yaml entry
automation:
- id: one
alias: Turn on light when motion is detected
trigger:
- platform: state
entity_id: binary_sensor.motion_1
to: 'on'
action:
- service: light.turn_on
data:
entity_id: light.living_room
brightness: 255
kelvin: 2700
Thank you for your help it was really appreciated. After looking into using a scene to fix this i think there is limitations that i wouldn’t be able to set this many lights in the 1 automation i think.
I will send you money via PP if you can help point me in the direction for my solution. I just can’t seem to find the answer with trial and error and looking through the entities and attributes. I’m sorry to be annoying
I don’t know what planet everyone is on today, but…
Problem number 1 - you are declaring it as 3 automations, one with an alias and an empty trigger key, one with only an action that has trigger keys in it, and one that is listing like a million entity_id’s all over the place.
It’s so bad I don’t even have the mental strength to go through it and fix all the errors.