alias: Handle Clints Meds id: automation_handle_clints_meds description: "Manage the booleans associated with Clints meds" trigger: - id: homeassistant_start platform: homeassistant event: start - id: boolean_changed platform: state entity_id: - input_boolean.clint_needs_am_meds - input_boolean.clint_needs_pm_meds action: - choose: - conditions: - condition: state entity_id: - input_boolean.clint_needs_am_meds - input_boolean.clint_needs_pm_meds state: "off" sequence: - action: input_boolean.turn_off data: {} target: entity_id: input_boolean.clint_needs_meds default: - action: input_boolean.turn_on data: {} target: entity_id: input_boolean.clint_needs_meds