Skip to content

Instantly share code, notes, and snippets.

@MackoMici
Created August 10, 2024 15:19
Show Gist options
  • Select an option

  • Save MackoMici/ab8ca0abbb99c0492a00919480dccf8b to your computer and use it in GitHub Desktop.

Select an option

Save MackoMici/ab8ca0abbb99c0492a00919480dccf8b to your computer and use it in GitHub Desktop.
blueprint:
name: Hőmérséklet riasztás üzenet
description: Küldjön riasztást ha magas a hőmérséklet.
domain: automation
input:
temp_threshold:
name: Riasztási érték
description: Riasztási érték
default: 50
selector:
number:
min: 0
max: 100
mode: slider
step: 1
temp_sensor:
name: Hőmérséklet szenzor
description: Figyelni kívánt hőmérséklet szenzor.
selector:
entity:
domain: sensor
actions:
name: Notify Actions
description: Üzenet küldéshez.
selector:
action: {}
trigger:
- platform: state
entity_id: !input 'temp_sensor'
condition:
- condition: numeric_state
entity_id: !input 'temp_sensor'
above: !input 'temp_threshold'
action:
- choose: []
default: !input 'actions'
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment