Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
slashback100 authored Mar 7, 2024
1 parent c66dcfc commit e794567
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Toggling the switch (`switch.presence_simulation` for example) will toggle the p
Three services are available:
### Start the simulation
The service `presence_simulation.start` will start the simulation and set the referenced presence simulation switch entity to `on`.

⚠️ From v4, the parameter `switch_id` is mandatory. It should be the name of the switch you wan't to turn on.
Optionally, you can reference a list of entities, a delta, choose to restore the states or set a random offset if you want to override the presence simulation switch configuration:
```
Expand All @@ -84,9 +85,11 @@ random: 300
```
### Stop the simulation
The service `presence_simulation.stop` will stop the simulation and set the `switch.presence_simulation` entity to `off`.

⚠️ From v4, the parameter `switch_id` is mandatory. It should be the name of the switch you wan't to turn off.
### Toggle the simulation
The service `presence_simulation.toggle` will start or stop the simulation, depending on the current state of the switch entity.

⚠️ From v4, the parameter `switch_id` is mandatory. It should be the name of the switch you wan't to toggle.

# Event
Expand Down

0 comments on commit e794567

Please sign in to comment.