![](https://midwest.social/pictrs/image/05e5fb55-23dc-4b5c-a7db-1bb3d50e1baf.png)
![](https://lemmy.world/pictrs/image/94b2b808-7c9c-4de0-a35b-966d14ae40fd.png)
How I keep that sort of thing in a single automation is by using trigger IDs and a service call with a template for said trigger id.
Something like this:
alias: Hallway Motion Light
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.hallway_motion_occupancy
to: "on"
id: "on"
- platform: state
entity_id:
- binary_sensor.hallway_motion_occupancy
to: "off"
id: "off"
for:
hours: 0
minutes: 1
seconds: 0
condition: []
action:
- service: light.turn_{{ trigger.id }}
data:
transition: 3
target:
entity_id: light.hallway_light_2_2
mode: single
It should! As long as you can get it to the bios screen you should be able to get it to boot a live USB. I actually resurrected my EeePC1005 two weeks ago with DamnSmallLinux2024.