Last active
January 3, 2024 22:15
-
-
Save kpine/b9a195088098090002cb4999678965c1 to your computer and use it in GitHub Desktop.
GE/Jasco Double Tap Auto-dimming Blueprint
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: GE Light Switch Double Taps with Auto Brightness | |
description: Auto-dim GE/Jasco/Honeywell light switches that support double taps. | |
domain: automation | |
input: | |
device: | |
name: Light Switch Device | |
description: A light switch that supports double taps. | |
selector: | |
device: | |
filter: | |
- integration: zwave_js | |
manufacturer: GE | |
- integration: zwave_js | |
manufacturer: GE/Enbrighten | |
- integration: zwave_js | |
manufacturer: Honeywell | |
- integration: zwave_js | |
manufacturer: Jasco | |
entity: | |
- domain: light | |
off_brightness: | |
name: Off Brightness | |
description: The brightness to set for a double tap off. | |
default: 25 | |
selector: | |
number: | |
min: 0 | |
max: 100 | |
unit_of_measurement: "%" | |
mode: slider | |
on_brightness: | |
name: On Brightness | |
description: The brightness to set for a double tap on. | |
default: 100 | |
selector: | |
number: | |
min: 0 | |
max: 100 | |
unit_of_measurement: "%" | |
mode: slider | |
mode: single | |
max_exceeded: silent | |
trigger: | |
platform: event | |
event_type: zwave_js_value_notification | |
event_data: | |
device_id: !input device | |
command_class: 32 # Basic | |
action: | |
- variables: | |
value: "{{ trigger.event.data.value_raw }}" | |
- choose: | |
- conditions: "{{ value == 0 }}" | |
sequence: | |
- service: light.turn_on | |
data: | |
brightness_pct: !input off_brightness | |
target: | |
device_id: !input device | |
- conditions: "{{ value == 255 }}" | |
sequence: | |
- service: light.turn_on | |
data: | |
brightness_pct: !input on_brightness | |
target: | |
device_id: !input device |
You don't need this blueprint for Ultrapro devices, they support Central Scene CC.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wish I could just make this a pull request
Can you add UltraPro as a manufacturer?
manufacturer: UltraPro
It's the same as the GE/Jasco switches
https://www.amazon.com/UltraPro-Required-Alexa-Assistant-Compatible-54897/dp/B08MDF5MSB/ref=sr_1_1?crid=3KCT640EU2FPL&keywords=ultrapro%2Bdimmer&qid=1704292425&sprefix=ultrapro%2Bdimme%2Caps%2C86&sr=8-1&th=1