Skip to content

Instantly share code, notes, and snippets.

@NeoBlack
Created July 13, 2025 12:20
Show Gist options
  • Save NeoBlack/9a05ea596192325006ab2c0ff4b19d0c to your computer and use it in GitHub Desktop.
Save NeoBlack/9a05ea596192325006ab2c0ff4b19d0c to your computer and use it in GitHub Desktop.
Home Assistant Automation for my dart setup
alias: Dart On Automation
description: "Start the dart board with LED animation"
triggers:
- trigger: state
entity_id:
- input_boolean.darts # This helper can be set by Alexa or on any other way
to: "on"
conditions: []
actions:
- type: turn_on
device_id: xxx # Decice ID of the smart plug for every wired component
entity_id: yyy # Entity ID of the smart plug for every wired component
domain: switch
- action: scene.turn_on
metadata: {}
data: {}
target:
entity_id: scene.dart_wand_game_on # The Scene for the LED animation
- delay: # wait 5 seconds before continue
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- action: scene.turn_on
metadata: {}
data: {}
target:
entity_id: scene.dart_wand_game_play # The Scene for the permant light, after start animation
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment