Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

scripts.yaml 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. play:
  2. alias: Play Spotify
  3. sequence:
  4. - alias: Play Spotify
  5. service: media_player.media_play
  6. data:
  7. entity_id: media_player.spotify
  8. pause:
  9. alias: Pause Spotify
  10. sequence:
  11. - alias: Pause Spotify
  12. service: media_player.media_pause
  13. data:
  14. entity_id: media_player.spotify
  15. coverup:
  16. alias: Cover Up
  17. sequence:
  18. - alias: Cancel Down Script
  19. service: script.turn_off
  20. data:
  21. entity_id: script.coverdown
  22. - alias: Switch Direction Relay ON (upwards)
  23. service: switch.turn_on
  24. data:
  25. entity_id: switch.coverdirection
  26. - delay:
  27. seconds: 1
  28. - alias: Enable Pre Relay
  29. service: switch.turn_on
  30. data:
  31. entity_id: switch.coverenable
  32. - delay:
  33. seconds: 90
  34. - alias: Disable Pre Relay
  35. service: switch.turn_off
  36. data:
  37. entity_id: switch.coverenable
  38. - delay:
  39. seconds: 2
  40. - alias: Switch Direction Relay OFF (does not matter, but saves power)
  41. service: switch.turn_off
  42. data:
  43. entity_id: switch.coverdirection
  44. coverdown:
  45. alias: Cover Down
  46. sequence:
  47. - alias: Cancel Up Script
  48. service: script.turn_off
  49. data:
  50. entity_id: script.coverup
  51. - alias: Switch Direction Relay OFF (downwards)
  52. service: switch.turn_off
  53. data:
  54. entity_id: switch.coverdirection
  55. - delay:
  56. seconds: 1
  57. - alias: Enable Pre Relay
  58. service: switch.turn_on
  59. data:
  60. entity_id: switch.coverenable
  61. - delay:
  62. seconds: 90
  63. - alias: Disable Pre Relay
  64. service: switch.turn_off
  65. data:
  66. entity_id: switch.coverenable
  67. - delay:
  68. seconds: 1
  69. - alias: Switch Direction Relay OFF (does not matter, but saves power)
  70. service: switch.turn_off
  71. data:
  72. entity_id: switch.coverdirection
  73. covertilt:
  74. alias: Cover Tilt
  75. sequence:
  76. - alias: Switch Direction Relay ON (upwards)
  77. service: switch.turn_on
  78. data:
  79. entity_id: switch.coverdirection
  80. - delay:
  81. seconds: 1
  82. - alias: Enable Pre Relay
  83. service: switch.turn_on
  84. data:
  85. entity_id: switch.coverenable
  86. - delay:
  87. seconds: 2
  88. - alias: Disable Pre Relay
  89. service: switch.turn_off
  90. data:
  91. entity_id: switch.coverenable
  92. - delay:
  93. seconds: 1
  94. - alias: Switch Direction Relay OFF (does not matter, but saves power)
  95. service: switch.turn_off
  96. data:
  97. entity_id: switch.coverdirection
  98. coverstop:
  99. alias: Cover Stop
  100. sequence:
  101. - alias: Disable Pre Relay
  102. service: switch.turn_off
  103. data:
  104. entity_id: switch.coverenable
  105. - delay:
  106. seconds: 1
  107. - alias: Switch Direction Relay OFF (does not matter, but saves power)
  108. service: switch.turn_off
  109. data:
  110. entity_id: switch.coverdirection
  111. fadein:
  112. alias: Fade In LEDs
  113. sequence:
  114. - alias: Turn on with transition
  115. service: light.turn_on
  116. data:
  117. entity_id: light.led_strip
  118. brightness: 255
  119. transition: 5