I have an automation that I want to implement but the only way I can think to do so seems like it might not be possible. I am writing specific, set, values to a text helper off some actions, and then using that stored value to trigger card/section visibility. I want to be able to detect if the triggering action is attempting to write the same value as the previously stored value, and then trigger another action off that, but my problem is that the "State" trigger does not fire if the same value is being sent, since it's technically not updating even though the event is being sent. So I was then going to listen for "set_value" service calls to the specific entity id, but there seems to be no way to have an automation read the entity ID from the event, because it's being passed as a list and not a string. For example:
event_type: call_service
data:
domain: input_text
service: set_value
service_data:
value: Example Value
entity_id:
- input_text.example_helper
Is there something I am missing here? Or is it just actually not possible to do this? I might be missing something blatant, this is a lot more in-depth than I usually get with my automations.
I also don't really get why entity_id is being passed as a list when there is only a single value
Let me know if I explained anything poorly as well and I'll clarify, or at least try lol