renamed scene to states

This commit is contained in:
root
2023-07-30 14:22:53 -05:00
parent 7e945d7c36
commit 6ea7c5abd7
2 changed files with 16 additions and 13 deletions

View File

@@ -35,12 +35,23 @@ Activates the room if the door opens when everything in the room is off.
|----------|----------------------------------------------|
| `entity` | Main entity for the room |
| `sensor` | `binary_sensor` (motion) sensor for the room |
| `scene` | List of states and times for the room. |
| `sleep` | [input_boolean] of the sleep mode variable |
| `states` | List of states and times for the room. |
#### Optional
| Key | Behavior |
|----------------|-----------------------------------------------------------------------------------------|
| `off_duration` | Default time for the motion sensor to be clear before deactivating the room. `HH:MM:SS` |
| `button` | ID of the button to control the room |
| `door` | `binary_sensor` (door) sensor for the room |
| `sleep` | [input_boolean] of the sleep mode variable |
[input_boolean]: https://www.home-assistant.io/integrations/input_boolean/
Example state for `scene` key
### Scene Definition
Example state for `states` key
```yaml
- time: 22:00:00
@@ -52,14 +63,6 @@ Example state for `scene` key
brightness_pct: 10
```
#### Optional
| Key | Behavior |
|----------------|-----------------------------------------------------------------------------------------|
| `off_duration` | Default time for the motion sensor to be clear before deactivating the room. `HH:MM:SS` |
| `button` | ID of the button to control the room |
| `door` | `binary_sensor` (door) sensor for the room |
Sample Button Event Data
```yaml