Initial version of appdaemon apps.yaml

This commit is contained in:
2022-04-16 03:44:54 -04:00
parent 37187e3030
commit 4ee3398175
2 changed files with 48 additions and 2 deletions

7
.gitignore vendored
View File

@ -17,7 +17,8 @@
/image
/node-red/*
/files
/appdaemon/
/appdaemon/*
/appdaemon/apps/*
# ignore any of these files no matter where they are using double *
**.DS_Store
@ -64,4 +65,6 @@
**alexa_auth
# exceptions
!/node-red/flows.json
!/node-red/flows.json
!/appdaemon/apps/
!/appdaemon/apps/apps.yaml

43
appdaemon/apps/apps.yaml Normal file
View File

@ -0,0 +1,43 @@
---
hello_world:
module: hello
class: HelloWorld
media_lights_sync_living_room:
module: media_lights_sync
class: MediaLightsSync
media_player: media_player.living_room_tv
lights:
- light.living_room_color_1
- light.living_room_color_2
ha_url: !secret local_url
reset_lights_after: true
use_saturated_colors: false
use_current_brightness: false
condition:
entity: input_boolean.sync_tv_lights_living_room
state: "on"
media_lights_sync_basement:
module: media_lights_sync
class: MediaLightsSync
media_player: media_player.basement_tv
lights:
- light.basement_tall_lamp
- light.basement_short_lamp
- light.basement_stairwell
- light.basement_led_strip_1
ha_url: !secret local_url
reset_lights_after: true
use_saturated_colors: false
use_current_brightness: false
condition:
entity: input_boolean.sync_tv_lights_basement
state: "on"
white_noise_basement:
module: whitenoise
class: WhiteNoise
media_player: basement_tv_chromecast
input_boolean: white_noise_basement
filename: !secret remote_url_thunderstorm