diff --git a/.gitignore b/.gitignore index c279603..c11f730 100644 --- a/.gitignore +++ b/.gitignore @@ -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 \ No newline at end of file +!/node-red/flows.json +!/appdaemon/apps/ +!/appdaemon/apps/apps.yaml \ No newline at end of file diff --git a/appdaemon/apps/apps.yaml b/appdaemon/apps/apps.yaml new file mode 100644 index 0000000..183f041 --- /dev/null +++ b/appdaemon/apps/apps.yaml @@ -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 \ No newline at end of file