This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Voicemail Reminder Automation | |
description: If you have uncompleted items on a to-do list when occupancy is detected, announce it on a speaker. | |
domain: automation | |
input: | |
occupancy_sensor: | |
name: Occupancy Binary Sensor | |
description: You can use any sensor as an occupancy sensor as long as it's a binary sensor | |
selector: | |
entity: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Advanced Appliance Power Monitor | |
description: | | |
Monitors the activity of an appliance based on the power it uses (W) after given delays, and triggers actions based on start, running (power usage changed), and stop. You can use the variables | |
* `{{ elapsed_time }}` (total seconds) | |
* `{{ elapsed_time_days }}` | |
* `{{ elapsed_time_hours }}` | |
* `{{ elapsed_time_minutes }}` | |
* `{{ elapsed_time_seconds }}` | |
* `{{ energy_used }}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Add Hildebrand CAD Entities | |
description: Create devices and entities using MQTT discovery | |
domain: script | |
source_url: https://gist.github.com/jamesonuk/079ed3639924e9f373783e5b67f4385d | |
input: | |
input_cad_mac: | |
name: MAC Address | |
description: "MAC address of CAD (without :s)" | |
default: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// AppleLogo | |
// | |
// Created by Oskar Groth on 2021-06-17. | |
// | |
import SwiftUI | |
struct ContentView: View { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
VStack(spacing: 0) { | |
Color.green | |
Color.green | |
Color.green | |
Color.yellow | |
Color.orange |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Yet Another Motion Automation | |
description: > | |
# YAMA V10 | |
Turn on lights or scenes when motion is detected. | |
Four different scenes can be defined depending on time of day. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Appliance has finished | |
description: Do something when an appliance (like a washing machine or dishwasher) | |
has finished as detected by a power sensor. | |
domain: automation | |
input: | |
power_sensor: | |
name: Power Sensor | |
description: Power sensor entity (e.g. from a smart plug device). | |
selector: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
AnimatedBackground().edgesIgnoringSafeArea(.all) | |
.blur(radius: 50) | |
} | |
} | |
struct AnimatedBackground: View { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@main | |
struct MyApp: App { | |
enum Sheet { case first, second } | |
@State var sheet: Sheet? = nil | |
var body: some Scene { | |
WindowGroup { | |
VStack { | |
Button("First") { sheet = .first } |
NewerOlder