Skip to content

Instantly share code, notes, and snippets.

View Lars-'s full-sized avatar
๐Ÿ‘‹

Lars Jansen Lars-

๐Ÿ‘‹
View GitHub Profile
blueprint:
name: Slimme Gordijn Besturing - Met raamsensor
description: >
Beheert gordijnen automatisch op basis van raamstatus, lichtomstandigheden en privacy voorkeuren.
Deze versie heeft WEL een raam sensor voor veiligheid.
Prioriteit volgorde:
1. Raam open โ†’ gordijn open (veiligheid - voorkomt botsing)
2. Gordijn mag niet open โ†’ gordijn dicht (privacy)
3. Donker buiten โ†’ gordijn dicht
blueprint:
name: Smart Curtain Control
description: Automatically control curtains based on light levels, time, and manual overrides
domain: automation
input:
curtain_entity:
name: Curtain Cover Entity
description: The cover entity for the curtains to control
selector:
entity:
blueprint:
name: Slimme Lamp Besturing met Begrenzingen
description: >
Schakelt lampen aan/uit met optionele minimum en maximum helderheid begrenzingen.
Ondersteunt toggle functionaliteit met slimme aan/uit detectie.
Optie om lamp te dimmen naar minimum in plaats van uit te zetten.
domain: automation
input:
trigger_action:
blueprint:
name: Helderheid Begrenzer
description: >
Past automatisch de helderheid van een lamp aan wanneer de grenswaarde (minimum of maximum) wordt gewijzigd.
De lamp wordt aangepast als deze buiten de nieuwe grens valt.
Bij minimum begrenzing wordt de lamp aangezet als deze uit staat.
domain: automation
input:
target_light:
@Lars-
Lars- / motion_activated_switch.yaml
Last active September 29, 2024 05:24
Turn on a switch when motion is detected and turn it off after a specified time of no motion. Includes optional extra conditions for turning on.
blueprint:
name: Motion-Activated Switch
description: Turn on a switch when motion is detected and turn it off after a specified time of no motion. Includes optional extra conditions for turning on.
domain: automation
input:
motion_entity:
name: Motion Sensor
description: Select the motion sensor to use
selector:
entity:
@Lars-
Lars- / simple-switch-light-toggle.yaml
Last active September 26, 2024 10:36
Toggle lights or switches using multiple devices with multiple triggers per device
blueprint:
name: Simple switch/light toggle
description: Toggle lights or switches based on several triggers
domain: automation
input:
usertrigger:
name: Trigger
description: Select a trigger
selector:
trigger:
@Lars-
Lars- / wattage_monitor_todo.yaml
Last active September 26, 2024 11:50
Wattage monitor todo blueprint
blueprint:
name: "Wattage monitor and Todoist task creator"
description: "Monitor a wattage entity and create a Todoist task when it's at or below a threshold for a specified time"
domain: automation
input:
wattage_entity:
name: Wattage entity
description: The entity containing the wattage to monitor (must have 'W' as unit of measurement)
selector:
entity:

Keybase proof

I hereby claim:

  • I am lars- on github.
  • I am larsjansen (https://keybase.io/larsjansen) on keybase.
  • I have a public key ASAqZBvJltNg3ESNIhkj0uEsEJcVxb5GGhZG8OeSk7D-6Qo

To claim this, I am signing this object:

@Lars-
Lars- / gforms_radio_button_styling.scss
Created October 18, 2019 13:52
Gravity Forms Radio Button Styling. Add this to your SCSS for an immediate radio button styling.
.gfield_radio li input[type=radio] {
opacity: 0;
position: absolute;
transition: none !important;
* {
transition: none !important;
}
@Lars-
Lars- / gforms_checkbox_styling.scss
Last active October 18, 2019 13:52
Gravity Forms Checkbox Styling. Add this to your SCSS to immediately style all your checkboxes.
.gfield_checkbox li input[type=checkbox] {
opacity: 0;
position: absolute;
+ label {
position: relative;
overflow: hidden;
padding-left: 35px;
cursor: pointer;
display: inline-block;