summaryrefslogtreecommitdiffstats
path: root/scripts.yaml
diff options
context:
space:
mode:
authorroot <root@smartpi.suren.me>2023-01-10 07:45:02 +0400
committerroot <root@smartpi.suren.me>2023-01-10 07:45:02 +0400
commit2c0c331eb7b7a03152309bbbd4e0fee157e8d86c (patch)
tree03391160212b39c4597ecc26010f2ba1235a65e3 /scripts.yaml
downloadhass-2c0c331eb7b7a03152309bbbd4e0fee157e8d86c.tar.gz
hass-2c0c331eb7b7a03152309bbbd4e0fee157e8d86c.tar.bz2
hass-2c0c331eb7b7a03152309bbbd4e0fee157e8d86c.tar.xz
hass-2c0c331eb7b7a03152309bbbd4e0fee157e8d86c.zip
Initial configuration
Diffstat (limited to 'scripts.yaml')
-rw-r--r--scripts.yaml97
1 files changed, 97 insertions, 0 deletions
diff --git a/scripts.yaml b/scripts.yaml
new file mode 100644
index 0000000..59b3898
--- /dev/null
+++ b/scripts.yaml
@@ -0,0 +1,97 @@
+turn_off_all_lights:
+ alias: turn_off_all_lights
+ use_blueprint:
+ path: lights/turn_off_lights.yaml
+ mode: single
+'1672632854824':
+ alias: Send Photo
+ use_blueprint:
+ path: camera/send_photo.yaml
+ input:
+ host: http://127.0.0.1:8123
+'1672637427937':
+ alias: Security Camera
+ use_blueprint:
+ path: camera/security_camera.yaml
+ input:
+ lights_on:
+ - switch.entrance_lights_center
+ lights_off:
+ - switch.hall_lights_left
+ fast_shots: 10
+ motion_sensor: binary_sensor.hall_motions_occupancy
+turn_off_bedroom_lights:
+ alias: turn_off_bedroom_lights
+ use_blueprint:
+ path: lights/turn_off_lights.yaml
+ input:
+ lights: bedroom
+ mode: single
+bedroom_aircon:
+ alias: Bedroom AirCon
+ use_blueprint:
+ path: devices/aircon.yaml
+ input:
+ power: switch.bedroom_aircon
+ temperature: sensor.bedroom_temp_temperature
+ cool_scene: scene.hyundai_aircon_cool_18
+ heat_scene: scene.hyundai_aircon_warm_28
+ off_scene: scene.hyundai_aircon_off
+ confirm:
+ - service: input_button.press
+ data: {}
+ target:
+ entity_id: input_button.button_confirm
+ mode: single
+'1672883652038':
+ sequence:
+ - service: media_player.volume_set
+ data:
+ volume_level: 1
+ target:
+ entity_id: media_player.smartpi
+ - service: media_player.play_media
+ target:
+ entity_id: media_player.smartpi
+ data:
+ media_content_id: media-source://dlna_dms/asgard/:64$0$5$1$0$0
+ media_content_type: audio/mpeg
+ metadata:
+ title: Wish I Had An Angel
+ thumbnail:
+ media_class: music
+ children_media_class:
+ navigateIds:
+ - {}
+ - media_content_type: app
+ media_content_id: media-source://dlna_dms
+ - media_content_type: channel
+ media_content_id: media-source://dlna_dms/asgard/:0
+ - media_content_type: object.container.storageFolder
+ media_content_id: media-source://dlna_dms/asgard/:64
+ - media_content_type: object.container.storageFolder
+ media_content_id: media-source://dlna_dms/asgard/:64$0
+ - media_content_type: object.container.storageFolder
+ media_content_id: media-source://dlna_dms/asgard/:64$0$5
+ - media_content_type: object.container.storageFolder
+ media_content_id: media-source://dlna_dms/asgard/:64$0$5$1
+ - media_content_type: object.container.storageFolder
+ media_content_id: media-source://dlna_dms/asgard/:64$0$5$1$0
+ mode: restart
+ alias: Kodi - Play Angel Alarm
+silence:
+ alias: Silence
+ sequence:
+ - service: media_player.media_stop
+ data: {}
+ target:
+ entity_id: media_player.smartpi
+ mode: single
+kodi_sleep:
+ alias: 'Kodi: Sleep'
+ sequence:
+ - service: media_player.media_stop
+ data: {}
+ target:
+ entity_id: media_player.smartpi
+ mode: single