mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Insteon Scene Automation (#9692)
* Add scene information and fix some typos * Indent issue * ✏️ Tweak * Remove load_all_databases service * Fix spelling * ✏️ Tweak - Remove linkable title * ✏️ Tweak * ✏️ Tweak (again)
This commit is contained in:
parent
03e03fa226
commit
81ca54e690
@ -258,6 +258,25 @@ light:
|
|||||||
address: 1a2b3c
|
address: 1a2b3c
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### INSTEON Scenes
|
||||||
|
|
||||||
|
Trigger an INSTEON scene on or off is done via automations. Two services are provided to support this feature:
|
||||||
|
|
||||||
|
- **insteon.scene_on**
|
||||||
|
- **group**: (required) The INSTEON scene number to trigger.
|
||||||
|
- **insteon.scene_off**
|
||||||
|
- **group**: (required) The INSTEON scene to turn off
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
automation:
|
||||||
|
# Trigger an INSTEON scene 25
|
||||||
|
- id: trigger_scene_25_on
|
||||||
|
alias: Turn on scene 25
|
||||||
|
action:
|
||||||
|
- service: insteon.scene_on
|
||||||
|
group: 25
|
||||||
|
```
|
||||||
|
|
||||||
### Events and Mini-Remotes
|
### Events and Mini-Remotes
|
||||||
|
|
||||||
Mini-Remote devices do not appear as Home Assistant entities, they generate events. The following events are available:
|
Mini-Remote devices do not appear as Home Assistant entities, they generate events. The following events are available:
|
||||||
@ -265,7 +284,7 @@ Mini-Remote devices do not appear as Home Assistant entities, they generate even
|
|||||||
- **insteon.button_on**
|
- **insteon.button_on**
|
||||||
- **address**: (required) The Insteon device address in lower case without dots (e.g., 1a2b3c)
|
- **address**: (required) The Insteon device address in lower case without dots (e.g., 1a2b3c)
|
||||||
- **button**: (Optional) The button id in lower case. For a 4-button remote the values are `a` to `d`. For an 8 button remote the values are `a` to `g`. For a one-button remote this field is not used.
|
- **button**: (Optional) The button id in lower case. For a 4-button remote the values are `a` to `d`. For an 8 button remote the values are `a` to `g`. For a one-button remote this field is not used.
|
||||||
- **insteon.button_of**
|
- **insteon.button_off**
|
||||||
- **address**: (required) The Insteon device address in lower case without dots (e.g., 1a2b3c)
|
- **address**: (required) The Insteon device address in lower case without dots (e.g., 1a2b3c)
|
||||||
- **button**: (Optional) The button id in lower case. For a 4-button remote the values are a to d. For an 8 button remote the values are `a` to `g`. For a one-button remote this field is not used.
|
- **button**: (Optional) The button id in lower case. For a 4-button remote the values are a to d. For an 8 button remote the values are `a` to `g`. For a one-button remote this field is not used.
|
||||||
|
|
||||||
@ -274,8 +293,10 @@ This allows the mini-remotes to be configured as triggers for automations. Here
|
|||||||
```yaml
|
```yaml
|
||||||
automation:
|
automation:
|
||||||
# 4 or 8 button remote with button c pressed
|
# 4 or 8 button remote with button c pressed
|
||||||
|
- id: light_on
|
||||||
|
alias: Turn a light on
|
||||||
trigger:
|
trigger:
|
||||||
platform: event
|
- platform: event
|
||||||
event_type: insteon.button_on
|
event_type: insteon.button_on
|
||||||
event_data:
|
event_data:
|
||||||
address: 1a2b3c
|
address: 1a2b3c
|
||||||
@ -285,12 +306,14 @@ automation:
|
|||||||
entity_id: light.some_light
|
entity_id: light.some_light
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.some_light
|
entity_id: light.some_light
|
||||||
|
|
||||||
# single button remote
|
# single button remote
|
||||||
|
- id: light_off
|
||||||
|
alias: Turn a light off
|
||||||
trigger:
|
trigger:
|
||||||
platform: event
|
- platform: event
|
||||||
event_type: insteon.button_on
|
event_type: insteon.button_on
|
||||||
event_data:
|
event_data:
|
||||||
address: 1a2b3c
|
address: 1a2b3c
|
||||||
@ -299,7 +322,7 @@ automation:
|
|||||||
entity_id: light.some_light
|
entity_id: light.some_light
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.some_light
|
entity_id: light.some_light
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user