Skip to content

Instantly share code, notes, and snippets.

@Raukze
Raukze / contact-sensor-left-open-notification.yaml
Last active April 27, 2024 15:06
Home Assistant Blueprint: Contact Sensor Left Open Notification
blueprint:
name: 🚪 Contact Sensor Left Open Notification by Malte
description: |
📲 Notifies you when a door or window is left open.
🚀 Version 2024.04.23.1
Are you tired of worrying about open doors or windows? This blueprint has got you covered! It's designed to send you a prompt notification when a door or window remains open for a specified duration.
📖 For Details see this [Blog post](https://community.home-assistant.io/t/contact-sensor-door-or-window-left-open-notification/652571)
@Raukze
Raukze / eco-heating-schedule.yaml
Last active May 28, 2024 11:12
Home Assistant Blueprint: Eco Heating Schedule
blueprint:
name: Eco Heating Schedule by Malte
description: |
# 🌟 Eco Heating Schedule (Thermostats & Climate) 🌡️
This blueprint optimizes your (not so) smart thermostat with intelligent temperature control. Set specific temperatures for different times of day, considering room occupancy and overall home presence. Features manual control override.
📖 For Details see this [Blog post](https://community.home-assistant.io/t/eco-thermostat-schedule/643641)
domain: automation
source_url: https://gist.github.com/Raukze/93f8204864682671ab2b502d2e945077
import sys
import requests
r = requests.get("https://mein.fitx.de/nox/public/v1/studios", headers={"x-tenant": "fitx"})
if not r.status_code == 200:
print(f"ERROR: Unsuccessful request. HTTP Status Code: ${r.status_code}")
sys.exit()
items = r.json()