I'm trying to create an automation to send feedbacks to my A/C control hub, it has 7 different feedbacks and when any of it is being triggered, can the the automation understand which feedback should be send to the hub.
- id: ' '
alias: Feedbacks
description: ''
trigger:
- platform: state
entity_id:
- input_button.too_warm
- input_button.bit_warm
- input_button.too_hot
- input_button.comfort
- input_button.freezing
- input_button.too_cold
- input_button.bit_cold
action:
- service: >
{% if trigger.entity_id == "input_button.comfort" %}
send_comfort_feedback
data:
name: Room
value: Comfort
mode: single