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 was archived by the owner on Dec 12, 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.
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.togglethe 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.