Update z-wave-device-specific.markdown

1. Wrong type for event_data. New type is object_id
2. Fix correct indents so copy paste works into config.
This commit is contained in:
John Arild Berentsen 2016-08-05 18:02:37 +02:00 committed by GitHub
parent e4d20d6bd0
commit 5aa24347e9

View File

@ -34,7 +34,7 @@ Example:
platform: event
event_type: zwave.basic_level
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
basic_level: 255
```
@ -44,13 +44,14 @@ This can be a press of a button, so tests have to be made to determine what scen
You can use this for automations.
Example:
```yaml
- alias: Minimote Button 1 Pressed
trigger:
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 1
```
@ -65,7 +66,7 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 1
- alias: Minimote Button 1 Held
@ -73,7 +74,7 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 2
- alias: Minimote Button 2 Pressed
@ -81,7 +82,7 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 3
- alias: Minimote Button 2 Held
@ -89,7 +90,7 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 4
- alias: Minimote Button 3 Pressed
@ -97,7 +98,7 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 5
- alias: Minimote Button 3 Held
@ -105,7 +106,7 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 6
- alias: Minimote Button 4 Pressed
@ -113,7 +114,7 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 7
- alias: Minimote Button 4 Held
@ -121,6 +122,6 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: aeon_labs_minimote_1
object_id: aeon_labs_minimote_1
scene_id: 8
```