Files
HomeAssistantVS/custom_components/presence_simulation/services.yaml
T

50 lines
1.8 KiB
YAML

start:
name: Presence simulation start
description: Start the presence simulation
fields:
switch_id:
name: The id of the presence simulation switch
description: The id of the presence simulation switch
example: switch.presence_simulation_2
entity_id:
name: Entities list
description: The list of entities to use by the presence simulation to override the list configured in the component
example: >
- group.outside_lights
delta:
name: Delta
description: Override the default number of days used by the simulation
example: 7
restore_states:
name: Should presence simulation status be restored after restart
description: Override the default restore switch. If set, the states will be restored after the simulation
example: True
random:
name: Activate random
description: Add a random factor (in seconds) to the historic events
example: 300
brightness:
name: Set light brightness
description: Set a specific brightness fot lights that allows it
example: 75
history_end:
name: End of source history
description: ISO 8601 date and time at which source history ends. The selected history is replayed cyclically from that moment.
example: "2026-08-09T00:00:00+02:00"
stop:
description: Stop the presence simulation
name: Presence simulation stop
fields:
switch_id:
name: The id of the presence simulation switch
description: The id of the presence simulation switch
example: switch.presence_simulation_2
toggle:
description: Toggle the presence simulation
name: Presence simulation toggle
fields:
switch_id:
name: The id of the presence simulation switch
description: The id of the presence simulation switch
example: switch.presence_simulation_2