- id: behaviour_coffee description: "[Behaviour] Daily coffee" mode: single trigger: - platform: numeric_state entity_id: sensor.coffee_machine_electrical_measurement above: 1000 action: - service: input_boolean.turn_on target: entity_id: input_boolean.daily_coffee