Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 101645

Invalid config for [automation]: [platform] is an invalid option for [automation]

$
0
0

@bigverm23 wrote:

can someone please help me understand why this is failing?

Invalid config for [automation]: [platform] is an invalid option for [automation]. Check: automation->condition->0->platform. (See /config/configuration.yaml, line 12).

- id: work_leave
  alias: Leave Work
  trigger:
    platform: zone
    entity_id: device_tracker.life360_ken
    zone: zone.dc3
    event: leave
  action:
    service: notify.gmail
    data:
      message: Ken has left work
- id: work_arrive
  alias: Arrive At Work
  trigger:
    platform: zone
    entity_id: device_tracker.life360_ken
    zone: zone.dc3
    event: enter
  action:
    service: notify.gmail
    data:
      message: Ken has arrived at work
- id: sunset_lights
  alias: Lights on at sunset
  trigger:
    platform: sun
    event: sunset
    offset: "-00:15:00"
  condition: 
    condition: state
    entity_id: sensor.home_occupied
    state: 'Occupied'
  action:
    entity_id: scene.sunset_lights
    service: scene.turn_on
- id: office_day_motion
  alias: Office Motion office_day_motion
  trigger:
    platform: state
    entity_id: binary_sensor.office_sensor
    to: 'on'
  condition: 
    platform: sun
    after: sunrise
    before: sunset
  action: 
    - service: timer.start
      entity_id: timer.office_motion
    - service: light.turn_on
      data: 
        kelvin: 2700
        brightness: 254
        transition: 10
      entity_id: light.officedesk
- id: office_timer
  alias: Turn off office after no motion (10 mins)
  trigger:
    platform: event
    event_type: timer.finished
    event_data: 
      entity_id: timer.office_timer
  condition:
    condition: state
    entity_id: binary_sensor.office_sensor
    state: 'off'
  action: 
    service: light.turn_off
    data: 
      transition: 10
    entity_id: light.officedesk

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 101645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>