Skip to content

Instantly share code, notes, and snippets.

@SchBenedikt
SchBenedikt / agent_1-de_beta.yaml
Last active February 15, 2025 21:36
HomeAssistant Blueprint Beta Testing German
blueprint:
name: Agent 1
description: |-
Dein persönlicher, hilfreicher Agent 1 ✨
Ich bin hier, um dich bei deinen täglichen Routinen zu unterstützen und dafür zu sorgen, dass du bestens vorbereitet in den Tag starten kannst! 💪🌞
🌦️ **Wetter:** Ich halte dich über das aktuelle Wetter auf dem Laufenden, damit du immer passend gekleidet bist.
📅 **Kalender:** Ich informiere dich über deine bevorstehenden Termine und wichtige Ereignisse, damit du nichts verpasst.
@SchBenedikt
SchBenedikt / agent_1-en.yaml
Last active February 17, 2025 13:34
Agent 1 English
blueprint:
name: Agent 1
description: |-
Your personal, helpful Agent 1 ✨
I’m here to support you with your daily routines and make sure you’re perfectly prepared to start your day! 💪🌞
🌦️ **Weather:** I’ll keep you updated on the current weather so you can dress appropriately.
📅 **Calendar:** I’ll inform you about your upcoming appointments and important events so you don’t miss anything.
@SchBenedikt
SchBenedikt / agent_1-de.yaml
Last active March 5, 2025 19:42
Agent 1 German
blueprint:
name: Agent 1
description: |-
Dein persönlicher, hilfreicher Agent 1 ✨
Ich bin hier, um dich bei deinen täglichen Routinen zu unterstützen und dafür zu sorgen, dass du bestens vorbereitet in den Tag starten kannst! 💪🌞
🌦️ **Wetter:** Ich halte dich über das aktuelle Wetter auf dem Laufenden, damit du immer passend gekleidet bist.
📅 **Kalender:** Ich informiere dich über deine bevorstehenden Termine und wichtige Ereignisse, damit du nichts verpasst.
blueprint:
name: Confirmable Notification
description: >-
A script that sends an actionable notification with a confirmation before
running the specified action.
domain: script
source_url: https://github.com/home-assistant/core/blob/master/homeassistant/components/script/blueprints/confirmable_notification.yaml
input:
notify_device:
name: Device to notify
@SchBenedikt
SchBenedikt / github-oauth.py
Created August 1, 2023 14:09
An example code how to use the Github oAuth in a Python code.
from flask import Flask, redirect, request, session, url_for
import requests
from authlib.integrations.flask_client import OAuth
import os
import sys
import threading
from PyQt5.QtWidgets import QApplication, QMainWindow, QFileDialog
from PyQt5.QtGui import QIcon
from PyQt5.QtCore import Qt