Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
- platform: template covers: double_garage_door: device_class: garage friendly_name: "Double Garage Door" unique_id: doublegaragedoor value_template: "{{ is_state('binary_sensor.shellyplus2pm_80646fdb8b20_input_0', 'off') }}" availability_template: "{{ states('binary_sensor.shellyplus2pm_80646fdb8b20_input_0') in ['on','off'] }}" open_cover: - condition: state entity_id: binary_sensor.shellyplus2pm_80646fdb8b20_input_0 state: "on" - action: switch.turn_on target: { entity_id: switch.double_garage_door } close_cover: - condition: state entity_id: binary_sensor.shellyplus2pm_80646fdb8b20_input_0 state: "off" - action: switch.turn_on target: { entity_id: switch.double_garage_door } stop_cover: - action: switch.turn_on target: { entity_id: switch.double_garage_door }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)