Browse Source

Add activate_preset service config package.

pull/59/head
Maurice Makaay 3 years ago
parent
commit
ceed01b8f2
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      packages/activate_preset_svc.yaml

+ 13
- 0
packages/activate_preset_svc.yaml View File

@ -0,0 +1,13 @@
# If you want to control light presets from Home Assistant, then you can
# make use of the following service.
api:
services:
- service: activate_preset
variables:
my_group: string
my_preset: string
then:
- preset.activate:
group: !lambda 'return my_group;'
preset: !lambda 'return my_preset;'

Loading…
Cancel
Save