triggers: - trigger: state entity_id: sun.sun to: above_horizon actions: - action: notify.notify data: title: "MCP Test" message: "Automation created via homeassistant MCP!" mode: single