Hi there. I looked around for this and can’t seem to find it. I am trying to use Fast On/Off as triggers. But there is no option in the GUI. There is just plain old ON/OFF (see attached photo). I’m also trying to adjust the local on level of light switches programmaticlly. So at 10 pm, if I hit the light switch manual (like an animal) it will only go to 50%. Along all those lines, is there a list of all the things you can adjust with a switch?
Regarding Fast On/Off. This will be something you use in automations.
Here is an example of how to use it as trigger:
alias: "Kitchen - Turn On and Off All Lights in Kitchen "
description: "Turns on/off light when double pressing main switch "
trigger:
- platform: event
event_type: isy994_control
event_data:
entity_id: light.main_light_k
control: DFOF
id: kitchen_all_off
- platform: event
event_type: isy994_control
event_data:
entity_id: light.main_light_k
control: DFON
id: kitchen_all_on
condition: []
action:
- if:
- condition: trigger
id: kitchen_all_off
then:
- service: switch.turn_off
data: {}
target:
entity_id: switch.indoor_outlet_11
- service: light.turn_off
target:
entity_id: light.kitchen_lights
data: {}
- if:
- condition: trigger
id: kitchen_all_on
then:
- service: switch.turn_on
data: {}
target:
entity_id: switch.indoor_outlet_11
- service: light.turn_on
target:
entity_id: light.kitchen_lights
data: {}
mode: single
Thank you! Three easy follow-up questions, if I may.
One, I see your event_type is for an ISY. Would this work for the direct Insteon integration (bypassing the ISY)?
Two, which is the part of the code that is specifcally addressing the actual press? I don’t know enough to parse it myself yet. Is it this?
control: DFON
And third, if it is, in fact the DFON snippet, do you know where I can find a master list of such things?
I lied. Four questions And fourth, there is no way to do this in the GUI, right? It’s not that I just can’t find it? It has to be in YAML (for whatever reason, idk).
Thank you!
P.S. For anyone else stumbling along, I’m still looking for how to adjust the local on level of a switch, so when someone physically presses the button, the light can turn to a desired brightness (depending on the time of day).