Skip to content

Commit

Permalink
Move envisalink component to package and add services.yaml (home-assi…
Browse files Browse the repository at this point in the history
…stant#19731)

* Moved component to a package and added a services.yaml file.

* Fixing coverage issue and grammar issue on the services.yaml file.

* Fixed typo in the services.yaml file.
  • Loading branch information
Cinntax authored and cgarwood committed Jan 4, 2019
1 parent ead38f6 commit dbb3802
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ omit =
homeassistant/components/enocean.py
homeassistant/components/*/enocean.py

homeassistant/components/envisalink.py
homeassistant/components/envisalink/__init__.py
homeassistant/components/*/envisalink.py

homeassistant/components/evohome.py
Expand Down
File renamed without changes.
15 changes: 15 additions & 0 deletions homeassistant/components/envisalink/services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Describes the format for available Envisalink services.

invoke_custom_function:
description: >
Allows users with DSC panels to trigger a PGM output (1-4).
Note that you need to specify the alarm panel's "code" parameter for this to work.
fields:
partition:
description: >
The alarm panel partition to trigger the PGM output on.
Typically this is just "1".
example: "1"
pgm:
description: The PGM number to trigger on the alarm panel. This will be 1-4.
example: "2"

0 comments on commit dbb3802

Please sign in to comment.