You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
alias: change Mia's Status
sequence:
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.pet_mia
attribute: where
state: 1
sequence:
- service: sureha.set_pet_location
data:
pet_id: "xxx"
where: Outside
- conditions:
- condition: state
entity_id: binary_sensor.pet_mia
attribute: where
state: 2
sequence:
- service: sureha.set_pet_location
data:
pet_id: "xxx"
where: Inside
It would also be nice, if you were able to call a service directly, something like: sureha.toggle_pet_location - this would then change the pet's state from home to away and vice versa without the need to create seperate scripts for each pet.
The text was updated successfully, but these errors were encountered:
Available services:
To implement a status information, if a pet is at home or away, you can use the tile_card with the following service call:
script.toggle
the script should be like this:
It would also be nice, if you were able to call a service directly, something like:
sureha.toggle_pet_location
- this would then change the pet's state from home to away and vice versa without the need to create seperate scripts for each pet.The text was updated successfully, but these errors were encountered: