I’m sure this is just me goofing up with yaml.
I have an automatic trigger that fires off several scripts when the outside light level get below a certain point. One of my scripts evaluates if my Harmony Hub is running certain activities and if it passes, fires off a scene.
Logs keep giving me this error: Format should be <domain>.<object_id>
Here is the script (individual files)
alias: 'Evaluate the LivingRoom Light Level'
sequence:
- condition: and
conditions:
- condition: state
entity_id: input_select.living_room_tv
state: 'Plex Media Player'
- condition: state
entity_id: input_select.living_room_tv
state: '4K Media'
- service: scene.tvtime_day_to_night
- service: scene.tvtime_day_to_night_phase1
homeassistant.exceptions.InvalidEntityFormatError: Invalid entity id encountered: script.evaluate_livingroom_lights.yaml. Format should be <domain>.<object_id>
Same error:
alias: 'Evaluate the LivingRoom Light Level'
sequence:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.living_room_tv
state: 'Plex Media Player'
- condition: state
entity_id: input_boolean.living_room_tv
state: '4K Media'
- service: homeassistant.turn_on
entity_id: scene.tvtime_day_to_night, scene.tvtime_day_to_night_phase1
I also tried:
alias: ‘Evaluate the LivingRoom Light Level’
sequence:
- condition: and
conditions:
- condition: state
entity_id: input_select.living_room_tv
state: ‘Plex Media Player’
- condition: state
entity_id: input_select.living_room_tv
state: ‘4K Media’
- service: homeassistant.turn_on
entity_id: scene.tvtime_day_to_night, scene.tvtime_day_to_night_phase1