Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
description: "Test mit Button"
mode: single
trigger:
- platform: state
entity_id:
- input_button.test
condition: []
action:
- service: homeassistant.turn_on
data: {}
target:
entity_id: light.tint_rgb_1
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: homeassistant.turn_off
data: {}
target:
entity_id: light.tint_rgb_1
platform: template
switches:
test:
value_template: >
{% if is_state('switch.test','on') %}
false
{% endif %}
turn_on:
turn_off:
alias: Türöffner
description: Test mit Button
trigger:
- platform: state
entity_id:
- input_button.summer
condition: []
action:
- service: homeassistant.turn_on
data: {}
target:
entity_id: light.summer_draussen
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: homeassistant.turn_off
data: {}
target:
entity_id: light.summer_draussen
mode: single
Hallo Jürgen,Hallo ,
ich habe das folgendermassen gelösst
hoffe das hilft dir weiterCode:alias: Türöffner description: Test mit Button trigger: - platform: state entity_id: - input_button.summer condition: [] action: - service: homeassistant.turn_on data: {} target: entity_id: light.summer_draussen - delay: hours: 0 minutes: 0 seconds: 1 milliseconds: 0 - service: homeassistant.turn_off data: {} target: entity_id: light.summer_draussen mode: single
alias: Rollo_OG_WOHNZIMMER_HOCH
description: Rollo_OG_WOHNZIMMER_HOCH
triggers:
- entity_id:
- switch.rollo_og_wohnzimmer_hoch
trigger: state
conditions: []
actions:
- data: {}
target:
entity_id: switch.rollo_og_wohnzimmer_hoch
action: homeassistant.turn_on
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 250
- data: {}
target:
entity_id: switch.rollo_og_wohnzimmer_hoch
action: homeassistant.turn_off
mode: single