#I am trying to determine why I am seeing

1 messages · Page 1 of 1 (latest)

lime relic
#
description: ""
trigger:
  - platform: numeric_state
    entity_id: proximity.work
    for:
      hours: 0
      minutes: 30
      seconds: 0
    id: arriving-work
    below: 250
  - platform: numeric_state
    entity_id: proximity.work
    id: leaving-work
    for:
      hours: 0
      minutes: 0
      seconds: 0
    above: 250
  - platform: numeric_state
    entity_id: proximity.home
    for:
      hours: 0
      minutes: 45
      seconds: 0
    id: leaving-home
    above: 150
  - platform: numeric_state
    entity_id: proximity.home
    for:
      hours: 0
      minutes: 2
      seconds: 0
    below: 300
    id: arriving-home```
#
action:
  - choose:
      - conditions:
          - condition: time
            after: "08:00:00"
            before: "16:00:00"
            weekday:
              - mon
              - tue
              - wed
              - thu
              - fri
          - condition: trigger
            id: arriving-work
        sequence:
          - device_id: OMIT
            domain: vacuum
            entity_id: vacuum.mr_sucks_a_lot
            type: clean
          - service: notify.mobile_app_device
            data:
              message: Roomba is starting
              title: Roomba started, triggered by arriving-work
      - conditions:
          - condition: trigger
            id: arriving-home
        sequence:
          - device_id: OMIT
            domain: vacuum
            entity_id: vacuum.mr_sucks_a_lot
            type: dock
          - service: notify.mobile_app_device
            data:
              message: Roomba is heading to base
              title: Roomba is heading to base, triggered by heading-home
      - conditions:
          - condition: trigger
            id: leaving-home
          - condition: time
            weekday:
              - sun
              - sat
              - fri
              - mon
            after: "10:00:00"
            before: "17:00:00"
        sequence:
          - device_id: OMIT
            domain: vacuum
            entity_id: vacuum.mr_sucks_a_lot
            type: clean
          - service: notify.mobile_app_device
            data:
              message: Starting roomba, triggered by leaving-home
mode: single