@luisrival wrote:
Hi
can some one help me saying me why my automation isn´t working as desire?
I have this automation:
- id: '1582257001151' alias: Apagar Cuarto Luis description: '' trigger: [] condition: - condition: zone entity_id: person.luis zone: zone.home action: - data: payload: LVOFF topic: LV-Automation/cuarto/luis/apagador service: mqtt.publish
And I trigger with this button:
cards: - entity: switch.portones_luis tap_action: action: call-service service: automation.trigger service_data: entity_id: automation.porton_test type: entity-button
I want that only when I´m home the automation make that mqtt publish, but in this moment this don´t happend, it no matters were I´m it always make the mqtt publish.
Posts: 3
Participants: 2