İçeriğe atla

Final Unicourse'tan Çalış, Yüksek Notu Garantile!

%25 İndirim Kodu: FRM25
Yükleniyor...
Dersi İzle
GÖRÜNTÜLEYENLER
+36
Premium Özellik
Bu konuyu kimlerin görüntülediğini görmek için Premium üyelik gerekir.
Premium'a Geç

Vizesine Unicourse'tan Çalış, Yüksek Notu Garantile!

A B C D Çıkmış Sorular Formül Kağıtları Konu Anlatımı Sınav İpuçları Örnek Sınav
Dersi İzle
Red Bull Basement
SPONSORLU ETKİNLİK

Fikrini Gerçeğe Dönüştür

Projeni dünyaya göstermek için sahne hazır. Red Bull Basement başvuruları açık.

Başvurunu Yap

🎉 Foruma Yeni Özellik Geldi!

Sizin için PDF toollarını getirdik!

Home Assistant Automation for freezing warnings

Selfhosted
1 1 9
  • Hey Folks. I was wondering how to warn me before my whole water stuff outside freezes and bursts cause I forget to check the weather. The Solutions I found while searching the web did not click with me so here is what I came up with:

    alias: Freezing Warning
    description: ''
    triggers:
      - trigger: time
        at: '07:00:00'
    conditions: []
    actions:
      - variables:
          message: Your massage to go out and close those Vales and empty the hoses
          mtittle: Freezing Alarm!
          minTemp: 2
      - action: weather.get_forecasts
        metadata: {}
        target:
          device_id: ChangeMe
        data:
          type: daily
        response_variable: daily
      - if:
          - condition: template
            value_template: |-
              {% set ns = namespace(freezing=false) %}
              {% for day in daily['weather.forecast_home'].forecast %}
                {% if day.templow < minTemp %}
                  {% set ns.freezing = true %}
                {% endif %}
              {% endfor %}
              {{ ns.freezing }}
        then:
          - action: notify.send_message
            metadata: {}
            target:
              device_id: ChangeMe
            data:
              title: '{{ mtittle }}'
              message: '{{ message }}'
    mode: single
    

    Just a simple Automation. No editing template.yaml files. Could add a condition with a helper var like "I closed the vales etc" and don't remind me every day. Guess I'll do that...
    Be sure to change the ID of you location and ID of you mobile device for the message.

    have fun,
    bye


Önerilen Başlıklar

8

Çevrimiçi

9.1k

Kullanıcı

2.0k

Konu

3.8k

İleti