Skip to content

Instantly share code, notes, and snippets.

@frenck
Last active December 4, 2020 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frenck/331f958f58e33587579fde86e5a7733f to your computer and use it in GitHub Desktop.
Save frenck/331f958f58e33587579fde86e5a7733f to your computer and use it in GitHub Desktop.
Device selectors
blueprint:
name: Test blueprint
domain: automation
input:
trigger_event:
name: Event to trigger on
description: This is a field you have to fill out
service_to_call:
name: Service to call
entity:
name: Entity
selector:
entity:
domain: binary_sensor
device_class: motion
integration: demo
device:
name: Device
selector:
device:
integration: demo
entity:
domain: binary_sensor
device_class: motion
area:
name: Area
selector:
area:
device:
integration: demo
entity:
integration: demo
domain: binary_sensor
device_class: motion
target:
name: Target
selector:
target:
device:
integration: demo
entity:
integration: demo
domain: binary_sensor
device_class: motion
action:
name: Action
selector:
action:
bool:
name: On or Off
default: true
selector:
boolean:
slider:
name: Slider
default: 100
selector:
number:
min: -10
max: 120
mode: slider
step: 5
unit_of_measurement: seconds
number:
name: Number
default: 100
selector:
number:
min: 0
max: 100
mode: box
unit_of_measurement: minutes
time:
name: Time
default: "12:00:00"
selector:
time:
@bramkragten
Copy link

@frenck
Copy link
Author

frenck commented Dec 4, 2020

Adjusted 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment