jay-kub / inovelli-matter-switch-tap-sequences

A Home Assistant blueprint that creates an automation to perform predefined actions when a button on an Inovelli switch is clicked.
6 stars 2 forks source link

Example of press and hold to change brightness #8

Open SolomonHD opened 2 weeks ago

SolomonHD commented 2 weeks ago

First, this is an awesome blueprint I was having trouble programming my Inovelli White, I am glad this repo exists.

May I have an example on how to setup press and hold to increase or decrease brightness?

jay-kub commented 2 weeks ago

Hey, thanks. Is this what you're looking for?

alias: Example
description: ""
use_blueprint:
  path: jay-kub/inovelli-matter-switch-tap-sequences.yaml
  input:
    entity_up: event.kitchen_table_up
    entity_down: event.kitchen_table_down
    entity_config: event.kitchen_table_config
    entity_light: light.kitchen_table
    target_light: light.kitchen_ceiling
    reverse_sync: true
    min_brightness: 23
SolomonHD commented 2 weeks ago

I don't think that's it; I was thinking more along the lines of hold up button and the brightness increases by 15% every 2 seconds.

Also, I would like to hold the config button and cycle through a selection of colors.