Skip to content

Instantly share code, notes, and snippets.

View DefenestrateIT's full-sized avatar

DefenestrateIT

View GitHub Profile
@DefenestrateIT
DefenestrateIT / sensor-light.yaml
Created July 16, 2023 12:03 — forked from Blackshome/sensor-light.yaml
Home Assistant Sensor Light that can be used in Blueprints
blueprint:
name: Sensor Light
description: >
# Sensor Light
**Version: 4.2**
The most common automation used for a sensor light.
blueprint:
name: Another Light Blueprint-Script [Lone-Wolf]
source_url: https://gist.github.com/DefenestrateIT/b5a5830c5eb990e651622efda90b4600
domain: script
description: "My Default Light Blueprint-Script v.1.3 with my take on Profiles.\n
Is my take on Light Profiles. This version has the following profiles: \n
- Bright - (For Day time & Events, I need to be Awake; Bright eyed & bushy tailed).\n
- Dimmed - (For after sunset & before sunrise when i'm (still) thinking about bed, but I will want to be able to read the Funny pages).\n
- Night-Light - (For bed/sleep time, & you don't want to wake everyone else up, but you still want to see in an emergency; how to get to the Fridge)\n
- Colour-Loop - (Was to be Aurora-Australis, but colour-loop is easier to remember).\n
blueprint:
name: Another Light Blueprint-Script [HAssNic's] V:1.3
source_url: https://gist.github.com/DefenestrateIT/ed023905809a13684c7ac52520cbd4d9
domain: script
description: "My Default Light Blueprint-Script with my take on Profiles.\n
Is my take on Light Profiles. This version has the following profiles: \n
- Bright - (For Day time & Events, I need to be Awake; Bright eyed & bushy tailed).\n
- Dimmed - (For after sunset & before sunrise when i'm (still) thinking about bed, but I will want to be able to read the Funny pages).\n
- Night-Light - (For bed/sleep time, & you don't want to wake everyone else up, but you still want to see in an emergency; how to get to the Fridge)\n
- Colour-Loop - (Was to be Aurora-Australis, but colour-loop is easier to remember).\n
blueprint:
domain: script
name: Light Turn_Off [HAssNic's] Profile Effect
source_url: https://gist.github.com/DefenestrateIT/7a1efad0d38a94908ce56d05180eb1a7
description: >
#Light Turn_Off [HAssNic's] Profile Effect V.1\n
This blueprint is desghned to be part of A larger moduler script system.\n
External varbles excepted:\n
v_target - The variable for 'Target:'.
v_transition - Overrides the 'data:' variable 'Transition:'\n
blueprint:
domain: script
name: Random [HAssNic's] Light Profile Effect
description: >
#Random [HAssNic's] Light profile Effect V.1\n
This blueprint is desghned to be part of A larger moduler script system.\n
I normally use this blueprint to create 'Bright', 'Dimmed' & 'Night-Light' profiles.\n
External varbles excepted:
v_target - The variable for 'Target:'.
v_transition_override - boolean Override, the 'data:' variable 'Transition:'\n
blueprint:
domain: script
name: Aurora [HAssNic's] Light Profile Effect
description: >
#Random [HAssNic's] Light profile Effect V.1\n
This blueprint is desghned to be part of A larger moduler script system.\n
I normally use this blueprint to create 'Bright', 'Dimmed' & 'Night-Light' profiles.\n
External varbles excepted:
v_target - The variable for 'Target:'.
v_transition_override - boolean Override, the 'data:' variable 'Transition:'\n
blueprint:
name: Another [HAssNic's] Trigger Automation
domain: automation
source_url: https://gist.github.com/DefenestrateIT/444d1ceca1cf0eaa68b731b39caa154f
description: >
#Another [HAssNic's] Trigger Automation V.1
This blueprint will pass the following variables to sub-scripts:
v_target: - The target selected for the Lights
v_lights: - The entity id's for the lights selected
blueprint:
name: Another Profile [HAssNic's] Selector
description: V.1
domain: script
source_url: https://gist.github.com/DefenestrateIT/00312c6b9ed5a069c69faa9162f35d1b
input:
input_target_lights:
name: Targeted Lights
description: "Lights this Script is Targeted at (for testing)."
blueprint:
domain: script
name: Temperature & Brightness [HAssNic's] Light Effect
source_url: https://gist.github.com/DefenestrateIT/1664a59e72d78b4d9e1f7ae986b4cab6
description: >
#Temperature & Brightness [HAssNic's] Light Effect Profile V.1\n
This blueprint is desghned to be part of A larger moduler scripting system.\n
I normally use this blueprint to create 'Bright', 'Dimmed' & 'Night-Light' profiles.\n
External varbles:
v_target - The variable for 'Target:'.
@DefenestrateIT
DefenestrateIT / Another Light Blueprint Automation.yaml
Last active March 7, 2024 23:19
Another Light Blueprint Automation
blueprint:
name: Optional_Motion Light Switch Blueprint Automation
description: "# Optional_Motion Light Switch Blueprint Automation V:1.3\n
Is my take on Light Profiles with Automations. This version has the following profiles;\n
- Bright - (For Day time & Events, I need to be Awake; Bright eyed & bushy tailed).\n
- Dimmed - (For after sunset & before sunrise when i'm (still) thinking about bed, but I will want to be able to read the Funny pages).\n
- Night-Light - (For bed/sleep time, & you don't want to wake everyone else up, but you still want to see in an emergency; how to get to the Fridge)\n
- Colour-Loop - (Was to be Aurora-Australis, but colour-loop is easier to remember).\n
- Circadian - (For the rest of the house at night, & to get everyone in sync @ night with you).\n
- Adaptive - (This works really well with a bed/sleep input_boolean).\n