BREAKING CHANGE If you use the services, the new parameter switch_id
is mandatory, it should be set to the id of the presence simulation switch you want to turn on/off or toggle.
You can create as many presence simulation switch as you wish, each with its own config.
Use case example: Create a presence simulation switch for the blinds without a random parameter; and a switch for the lights without a random parameter. When you leave you can then activate both switches, and create an automation to turn off the light simulation switch when your blinds are down.
Includes a major refactoring of the code.