Automations stop working after update

Updated my home assistant now it looks like a lot of my automations are no longer working. It has been over a year since the last time I updated and even longer since I made these automations and I don’t remember anything.

Log (i think)

2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/

2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [after] is an invalid option for [automation]. Check: automation->trigger->0->after. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:30 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-17 14:00:31 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: recorder
2017-11-17 14:00:31 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.

configuration.yaml

homeassistant:

Name of the location where Home Assistant is running

name: Home

Location required to calculate the time the sun rises and sets

latitude:
longitude:

Impacts weather/sunrise data (altitude above sea level in meters)

elevation:

metric for Metric, imperial for Imperial

unit_system: imperial

Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

time_zone:

customize: !include customize.yaml

Show links to resources in log and frontend

Enables the frontend

frontend:

Uncomment this to add a password (recommended!)

api_password: PASSWORD

Uncomment this if you are using SSL or running in Docker etc

base_url: example.duckdns.org:8123

Checks for available updates

updater:

Discover some devices automatically

discovery:

Allows you to issue voice commands from the frontend in enabled browsers

conversation:

Enables support for tracking state changes over time.

history:

View all events in a logbook

logbook:

Track the sun

sun:

notify:

  • name: my_pushbullet
    platform: pushbullet
    api_key:
    #Exmple
    #{

“message”: “A message for many people”,

“target”: [

“device/Galaxy S5”

]

#}

Text to speech

tts:
platform: google

google:
client_id:
client_secret:

zwave:
usb_path: /dev/ttyACM0

emulated_hue:
host_ip:
listen_port:
off_maps_to_on_domains:
- script
- scene
- automation
expose_by_default: false

mqtt:
broker: 192.168.1.22
port: 1883
client_id: home-assistant-1
username:
password:

proximity:
home:
zone: home
devices:
- device_tracker.mike
tolerance: 50
unit_of_measurement: m

device_tracker:

  • platform: nmap_tracker
    home_interval: 10
    hosts:
    scan_options: " --privileged -sP "

  • platform: gpslogger

input_boolean:
family_home:
name: Family Home
initial: on

####Automation
automation: !include automation.yaml

####Groups
group: !include group.yaml

####Input slider
input_slider: !include input_slider.yaml

####Scene
scene: !include scene.yaml

####Script
script: !include script.yaml

####sensor
sensor: !include sensor.yaml

####switch
switch: !include switch.yaml

####Zone
zone: !include zone.yaml

automation.yaml

Kitchen Automations

  • alias: “Turn on kitchen lights when there is movement”
    trigger:

    • platform: state
      entity_id: sensor.vision_zp3111_multisensor_4in1_alarm_level_3_1
      state: ‘255’
    • platform: state
      entity_id: switch.ge_12722_onoff_relay_switch_switch_2_0
      state: ‘on’
    • platform: state
      entity_id: input_slider.kitchen_timer
      condition:
      condition: or
      conditions:
      • condition: template
        value_template: ‘{{ states.sun.sun.attributes.elevation < 15 }}’
      • condition: template
        value_template: ‘{{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}’
        action:
        service: homeassistant.turn_on
        entity_id: script.kitchen_timed_light
  • alias: “nighttime timer on”
    trigger:
    platform: time

    When ‘after’ is used, you cannot also match on hour, minute, seconds.

    Military time format.

    after: ‘22:00:00’
    action:
    service: homeassistant.turn_on
    entity_id:
    scene.nighttime

  • alias: “daytime timer on”
    trigger:
    platform: time

    When ‘after’ is used, you cannot also match on hour, minute, seconds.

    Military time format.

    after: ‘07:30:00’
    action:
    service: homeassistant.turn_on
    entity_id:
    scene.daytime

Bathroom Automations

  • alias: “Turn on bath lights when there is movement”
    trigger:

    • platform: state
      entity_id: binary_sensor.ecolink_pir_motion_sensor_sensor_4_0
      state: ‘on’
    • platform: state
      entity_id: switch.ge_12722_onoff_relay_switch_switch_5_0
      state: ‘on’
    • platform: state
      entity_id: input_slider.bathroom_shower
      condition:
      condition: or
      conditions:
      • condition: template
        value_template: ‘{{ states.sun.sun.attributes.elevation < 15 }}’
      • condition: template
        value_template: ‘{{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}’
        action:
        service: homeassistant.turn_on
        entity_id: script.bathroom_timed_light
  • alias: “turn on bathroom fan for bath time”
    trigger:

    • platform: state
      entity_id: input_slider.bathroom_shower
      action:
    • delay: ‘00:01:00’
    • service: homeassistant.turn_on
      entity_id: switch.outlet_4
  • alias: “turn off bathroom fan for bath time”
    trigger:

    • platform: state
      entity_id: input_slider.bathroom_shower
      action:
    • delay: ‘01:00:00’
    • service: homeassistant.turn_off
      entity_id: switch.outlet_4

Bedroom 1 Automations

  • alias: “Turn on bedroom 1 lights when there is movement”
    trigger:

    • platform: state
      entity_id: sensor.gr_unknown_type0500_id0003_burglar_8_10
      state: ‘8’
    • platform: state
      entity_id: light.ge_12730_fan_control_switch_level_9_0
      state: ‘on’
    • platform: state
      entity_id: input_slider.bedroom_1_timer
      condition:
      condition: or
      conditions:
      • condition: template
        value_template: ‘{{ states.sun.sun.attributes.elevation < 15 }}’
      • condition: template
        value_template: ‘{{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}’
        action:
        service: homeassistant.turn_on
        entity_id: script.bedroom_1_timed_light
  • alias: “Turn on Bedroom 1 Closet Light Timer”
    trigger:

    • platform: state
      entity_id: switch.ge_12722_onoff_relay_switch_switch_11_0
      state: ‘on’
      action:
    • delay: ‘00:04:00’
    • service: homeassistant.turn_off
      entity_id: switch.ge_12722_onoff_relay_switch_switch_11_0
  • alias: “Turn on outlet 1 when it is nighttime”
    trigger:

    • platform: time
      after: ‘20:00’
      action:
      service: homeassistant.turn_on
      entity_id: switch.outlet_1
  • alias: “Turn off outlet 1 when it is daytime”
    trigger:

    • platform: time
      after: ‘09:00’
      action:
      service: homeassistant.turn_off
      entity_id: switch.outlet_1
  • alias: “Bedroom 1 Nighttime Timer On”
    trigger:
    platform: time

    When ‘after’ is used, you cannot also match on hour, minute, seconds.

    Military time format.

    after: ‘20:00:00’
    action:
    service: homeassistant.turn_on
    entity_id:
    scene.bedroom_1_nighttime

  • alias: “Bedroom 1 Daytime Timer On”
    trigger:
    platform: time

    When ‘after’ is used, you cannot also match on hour, minute, seconds.

    Military time format.

    after: ‘08:30:00’
    action:
    service: homeassistant.turn_on
    entity_id:
    scene.bedroom_1_daytime

Bedroom 2 Automations

  • alias: “Turn on outlet 2 when it is nighttime”
    trigger:

    • platform: time
      after: ‘21:00’
      action:
      service: homeassistant.turn_on
      entity_id: switch.outlet_2
  • alias: “Turn off outlet 2 when it is daytime”
    trigger:

    • platform: time
      after: ‘09:00’
      action:
      service: homeassistant.turn_off
      entity_id: switch.outlet_2

Bedroom 3 Automations

Security System Automations

  • alias: “Security System”
    trigger:

    • platform: state
      entity_id: sensor.vision_zp3111_multisensor_4in1_alarm_level_3_1
      state: ‘255’
    • platform: state
      entity_id: binary_sensor.ecolink_pir_motion_sensor_sensor_4_0
      state: ‘on’
      action:
      service: notify.my_pushbullet
      data:
      message: “someone is in the house”
      target: “device/Galaxy S5”
  • alias: ‘Arm Security When Away’
    trigger:
    platform: state
    entity_id: input_boolean.family_home
    from: ‘on’
    to: ‘off’
    action:
    service: homeassistant.turn_on
    entity_id: automation.security_system

  • alias: ‘Disarm Security When Home’
    trigger:
    platform: state
    entity_id: input_boolean.family_home
    from: ‘off’
    to: ‘on’
    action:
    service: homeassistant.turn_off
    entity_id: automation.security_system

  • alias: ‘Family Away’
    condition:
    condition: state
    entity_id: input_boolean.family_home
    state: ‘on’
    trigger:

    • platform: state
      entity_id: device_tracker.mike_nmap
      state: ‘away’
    • platform: state
      entity_id: device_tracker.rhina_nmap
      state: ‘away’
    • platform: state
      entity_id: device_tracker.josh_nmap
      state: ‘away’
      action:
    • service: homeassistant.turn_off
      entity_id: input_boolean.family_home
  • alias: ‘Family Home’
    condition:
    condition: state
    entity_id: input_boolean.family_home
    state: ‘off’
    trigger:

    • platform: state
      entity_id: device_tracker.mike_nmap
      state: ‘home’
    • platform: state
      entity_id: device_tracker.rhina_nmap
      state: ‘home’
    • platform: state
      entity_id: device_tracker.josh_nmap
      state: ‘home’
      action:
      service: homeassistant.turn_on
      entity_id: input_boolean.family_home

Some syntax has been changed, you need to go through your automations and change the triggers slightly.

Where you have a time trigger change the word ‘after’ to ‘at’.

Where you have state triggers change the second ‘state’ (not the declaration that it is a state trigger, the bit where your saying what state it should be in to trigger) to ‘to’.

Should fix all those errors.

wow thanks i will give that a try tonight

I wasn’t able to find what you were talking about. so i removed everything and have just one automation. I still cant get this one automation working. Any help is appreciated

####Automation

automation:

  • alias: “Turn on outlet 2 when it is nighttime”
    trigger:

    • platform: time
      after: ‘21:00’
      action:
      service: homeassistant.turn_on
      entity_id: switch.outlet_2
  • alias: “Turn off outlet 2 when it is daytime”
    trigger:

    • platform: time
      after: ‘09:00’
      action:
      service: homeassistant.turn_off
      entity_id: switch.outlet_2

that is not how the automation looks

Notice the “at” and not “after” in the docs

automation 2:
  trigger:
    platform: time
    # When 'at' is used, you cannot also match on hour, minute, seconds.
    # Military time format.
    at: '15:32:00'

you need to change ‘after’ to ‘at’ (without the ’ ')

I don’t see an error anymore but the automation is not showing up in home assistant and is not working either.

this is from my configuration.yaml file

####Automation
automation: !include automation.yaml

this is my automation.yaml file

# Bedroom 2 Automations
  • alias: “Turn on outlet 2 when it is nighttime”
    hide_entity: false
    initial_state: ‘off’
    trigger:

    • platform: time
      at: ‘21:00:00’
      action:
      service: homeassistant.turn_on
      entity_id: switch.outlet_2
  • alias: “Turn off outlet 2 when it is daytime”
    trigger:

    • platform: time
      at: ‘09:00:00’
      action:
      service: homeassistant.turn_off
      entity_id: switch.outlet_2

2017-11-22 12:38:29 ERROR (MainThread) [homeassistant.loader] Unable to find component input_slider
2017-11-22 12:38:29 ERROR (MainThread) [homeassistant.setup] Setup failed for input_slider: Component not found.
2017-11-22 12:38:30 ERROR (MainThread) [homeassistant.components] Testing configuration at /home/homeassistant/.homeassistant
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up http
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up recorder
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up api
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up history
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up frontend
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up zwave
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up group
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up notify
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up discovery
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up scene
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up emulated_hue
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up updater
2017-11-22 12:38:29 ERROR (MainThread) [homeassistant.loader] Unable to find component input_slider
2017-11-22 12:38:29 ERROR (MainThread) [homeassistant.setup] Setup failed for input_slider: Component not found.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up google
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up sun
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up zone
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up sensor
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain zwave took 0.4 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.4 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.3 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.3 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.3 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain emulated_hue took 0.2 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.2 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain google took 0.2 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.2 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.2 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.2 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.2 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up tts
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up conversation
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up logbook
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up switch
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up automation
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up script
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.0 seconds.
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setting up proximity
2017-11-22 12:38:29 INFO (MainThread) [homeassistant.setup] Setup of domain proximity took 0.0 seconds.
Failed config
General Errors:
- Component not found: input_slider
- Setup failed for input_slider: Component not found.

Successful config (partial)

Input_slider is now called input_number.

Thanks that is good to know I will work on that soon. Right now i cant even get a simple automation working right. Just thought i would start with the simple stuff first and as things start working again tackle the other stuff.

# Kitchen Automations
  • alias: “Turn on kitchen lights when there is movement”
    trigger:

    • platform: state
      entity_id: sensor.vision_zp3111_multisensor_4in1_alarm_level_3_1
      state: ‘255’
    • platform: state
      entity_id: switch.ge_12722_onoff_relay_switch_switch_2_0
      state: ‘on’
    • platform: state
      entity_id: input_number.kitchen_timer
      condition:
      condition: or
      conditions:
      • condition: template
        value_template: ‘{{ states.sun.sun.attributes.elevation < 15 }}’
      • condition: template
        value_template: ‘{{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}’
        action:
        service: homeassistant.turn_on
        entity_id: script.kitchen_timed_light
  • alias: “nighttime timer on”
    trigger:
    platform: time

    When ‘after’ is used, you cannot also match on hour, minute, seconds.

    Military time format.

    at: ‘22:00:00’
    action:
    service: homeassistant.turn_on
    entity_id:
    scene.nighttime

  • alias: “daytime timer on”
    trigger:
    platform: time

    When ‘after’ is used, you cannot also match on hour, minute, seconds.

    Military time format.

    at: ‘07:30:00’
    action:
    service: homeassistant.turn_on
    entity_id:
    scene.daytime

Bathroom Automations

  • alias: “Turn on bath lights when there is movement”
    trigger:

    • platform: state
      entity_id: binary_sensor.ecolink_pir_motion_sensor_sensor_4_0
      state: ‘on’
    • platform: state
      entity_id: switch.ge_12722_onoff_relay_switch_switch_5_0
      state: ‘on’
    • platform: state
      entity_id: input_number.bathroom_shower
      condition:
      condition: or
      conditions:
      • condition: template
        value_template: ‘{{ states.sun.sun.attributes.elevation < 15 }}’
      • condition: template
        value_template: ‘{{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}’
        action:
        service: homeassistant.turn_on
        entity_id: script.bathroom_timed_light
  • alias: “turn on bathroom fan for bath time”
    trigger:

    • platform: state
      entity_id: input_number.bathroom_shower
      action:
    • delay: ‘00:01:00’
    • service: homeassistant.turn_on
      entity_id: switch.outlet_4
  • alias: “turn off bathroom fan for bath time”
    trigger:

    • platform: state
      entity_id: input_number.bathroom_shower
      action:
    • delay: ‘01:00:00’
    • service: homeassistant.turn_off
      entity_id: switch.outlet_4

Bedroom 1 Automations

  • alias: “Turn on bedroom 1 lights when there is movement”
    trigger:

    • platform: state
      entity_id: sensor.gr_unknown_type0500_id0003_burglar_8_10
      state: ‘8’
    • platform: state
      entity_id: light.ge_12730_fan_control_switch_level_9_0
      state: ‘on’
    • platform: state
      entity_id: input_number.bedroom_1_timer
      condition:
      condition: or
      conditions:
      • condition: template
        value_template: ‘{{ states.sun.sun.attributes.elevation < 15 }}’
      • condition: template
        value_template: ‘{{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}’
        action:
        service: homeassistant.turn_on
        entity_id: script.bedroom_1_timed_light
  • alias: “Turn on Bedroom 1 Closet Light Timer”
    trigger:

    • platform: state
      entity_id: switch.ge_12722_onoff_relay_switch_switch_11_0
      state: ‘on’
      action:
    • delay: ‘00:04:00’
    • service: homeassistant.turn_off
      entity_id: switch.ge_12722_onoff_relay_switch_switch_11_0
  • alias: “Turn on outlet 1 when it is nighttime”
    trigger:

    • platform: time
      at: ‘20:00:00’
      action:
      service: homeassistant.turn_on
      entity_id: switch.outlet_1
  • alias: “Turn off outlet 1 when it is daytime”
    trigger:

    • platform: time
      at: ‘09:00:00’
      action:
      service: homeassistant.turn_off
      entity_id: switch.outlet_1
  • alias: “Bedroom 1 Nighttime Timer On”
    trigger:
    platform: time

    When ‘after’ is used, you cannot also match on hour, minute, seconds.

    Military time format.

    at: ‘20:00:00’
    action:
    service: homeassistant.turn_on
    entity_id:
    scene.bedroom_1_nighttime

  • alias: “Bedroom 1 Daytime Timer On”
    trigger:
    platform: time

    When ‘after’ is used, you cannot also match on hour, minute, seconds.

    Military time format.

    at: ‘08:30:00’
    action:
    service: homeassistant.turn_on
    entity_id:
    scene.bedroom_1_daytime

Bedroom 2 Automations

  • alias: “Turn on outlet 2 when it is nighttime”
    trigger:

    • platform: time
      at: ‘21:00:00’
      action:
      service: homeassistant.turn_on
      entity_id: switch.outlet_2
  • alias: “Turn off outlet 2 when it is daytime”
    trigger:

    • platform: time
      at: ‘09:00:00’
      action:
      service: homeassistant.turn_off
      entity_id: switch.outlet_2

Bedroom 3 Automations

Security System Automations

  • alias: “Security System”
    trigger:

    • platform: state
      entity_id: sensor.vision_zp3111_multisensor_4in1_alarm_level_3_1
      state: ‘255’
    • platform: state
      entity_id: binary_sensor.ecolink_pir_motion_sensor_sensor_4_0
      state: ‘on’
      action:
      service: notify.my_pushbullet
      data:
      message: “someone is in the house”
      target: “device/Galaxy S5”
  • alias: ‘Arm Security When Away’
    trigger:
    platform: state
    entity_id: input_boolean.family_home
    from: ‘on’
    to: ‘off’
    action:
    service: homeassistant.turn_on
    entity_id: automation.security_system

  • alias: ‘Disarm Security When Home’
    trigger:
    platform: state
    entity_id: input_boolean.family_home
    from: ‘off’
    to: ‘on’
    action:
    service: homeassistant.turn_off
    entity_id: automation.security_system

  • alias: ‘Family Away’
    condition:
    condition: state
    entity_id: input_boolean.family_home
    state: ‘on’
    trigger:

    • platform: state
      entity_id: device_tracker.mike_nmap
      state: ‘away’
    • platform: state
      entity_id: device_tracker.rhina_nmap
      state: ‘away’
    • platform: state
      entity_id: device_tracker.josh_nmap
      state: ‘away’
      action:
    • service: homeassistant.turn_off
      entity_id: input_boolean.family_home
  • alias: ‘Family Home’
    condition:
    condition: state
    entity_id: input_boolean.family_home
    state: ‘off’
    trigger:

    • platform: state
      entity_id: device_tracker.mike_nmap
      state: ‘home’
    • platform: state
      entity_id: device_tracker.rhina_nmap
      state: ‘home’
    • platform: state
      entity_id: device_tracker.josh_nmap
      state: ‘home’
      action:
      service: homeassistant.turn_on
      entity_id: input_boolean.family_home

2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.components] Testing configuration at /home/homeassistant/.homeassistant
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.0 seconds.
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up http
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up recorder
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up api
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up history
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up frontend
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2017-11-22 14:32:37 INFO (MainThread) [homeassistant.setup] Setting up scene
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up notify
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up input_number
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up zwave
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up google
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up sensor
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up zone
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up updater
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up discovery
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up sun
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /home/homeassistant/.homeassistant/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/automation/
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up group
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up emulated_hue
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 0.6 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.4 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.4 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 0.4 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain zwave took 0.4 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain google took 0.3 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.3 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.3 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.3 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.3 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.3 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.1 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain emulated_hue took 0.1 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up conversation
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up logbook
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up tts
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up script
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up switch
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up automation
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.0 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setting up proximity
2017-11-22 14:32:38 INFO (MainThread) [homeassistant.setup] Setup of domain proximity took 0.0 seconds.
Failed config
automation:
- action: [source /home/homeassistant/.homeassistant/automation.yaml:22]
entity_id: script.kitchen_timed_light
service: homeassistant.turn_on
alias: Turn on kitchen lights when there is movement
condition: [source /home/homeassistant/.homeassistant/automation.yaml:15]
condition: or
conditions: [source /home/homeassistant/.homeassistant/automation.yaml:17]
- condition: template
value_template: {{ states.sun.sun.attributes.elevation < 15 }}
- condition: template
value_template: {{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:6]
- platform: state
entity_id: sensor.vision_zp3111_multisensor_4in1_alarm_level_3_1
state: 255
- platform: state
entity_id: switch.ge_12722_onoff_relay_switch_switch_2_0
state: on
- platform: state
entity_id: input_number.kitchen_timer
- action: [source /home/homeassistant/.homeassistant/automation.yaml:32]
entity_id: scene.nighttime
service: homeassistant.turn_on
alias: nighttime timer on
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:27]
platform: time
at: 22:00:00
- action: [source /home/homeassistant/.homeassistant/automation.yaml:43]
entity_id: scene.daytime
service: homeassistant.turn_on
alias: daytime timer on
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:38]
platform: time
at: 07:30:00
- action: [source /home/homeassistant/.homeassistant/automation.yaml:68]
entity_id: script.bathroom_timed_light
service: homeassistant.turn_on
alias: Turn on bath lights when there is movement
condition: [source /home/homeassistant/.homeassistant/automation.yaml:61]
condition: or
conditions: [source /home/homeassistant/.homeassistant/automation.yaml:63]
- condition: template
value_template: {{ states.sun.sun.attributes.elevation < 15 }}
- condition: template
value_template: {{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:52]
- platform: state
entity_id: binary_sensor.ecolink_pir_motion_sensor_sensor_4_0
state: on
- platform: state
entity_id: switch.ge_12722_onoff_relay_switch_switch_5_0
state: on
- platform: state
entity_id: input_number.bathroom_shower
- action: [source /home/homeassistant/.homeassistant/automation.yaml:76]
- delay: 00:01:00
- entity_id: switch.outlet_4
service: homeassistant.turn_on
alias: turn on bathroom fan for bath time
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:73]
- platform: state
entity_id: input_number.bathroom_shower
- action: [source /home/homeassistant/.homeassistant/automation.yaml:85]
- delay: 01:00:00
- entity_id: switch.outlet_4
service: homeassistant.turn_off
alias: turn off bathroom fan for bath time
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:82]
- platform: state
entity_id: input_number.bathroom_shower
- action: [source /home/homeassistant/.homeassistant/automation.yaml:110]
entity_id: script.bedroom_1_timed_light
service: homeassistant.turn_on
alias: Turn on bedroom 1 lights when there is movement
condition: [source /home/homeassistant/.homeassistant/automation.yaml:103]
condition: or
conditions: [source /home/homeassistant/.homeassistant/automation.yaml:105]
- condition: template
value_template: {{ states.sun.sun.attributes.elevation < 15 }}
- condition: template
value_template: {{ states.sensor.vision_zp3111_multisensor_4in1_luminance_3_3.state < 45 }}
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:94]
- platform: state
entity_id: sensor.gr_unknown_type0500_id0003_burglar_8_10
state: 8
- platform: state
entity_id: light.ge_12730_fan_control_switch_level_9_0
state: on
- platform: state
entity_id: input_number.bedroom_1_timer
- action: [source /home/homeassistant/.homeassistant/automation.yaml:119]
- delay: 00:04:00
- entity_id: switch.ge_12722_onoff_relay_switch_switch_11_0
service: homeassistant.turn_off
alias: Turn on Bedroom 1 Closet Light Timer
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:115]
- platform: state
entity_id: switch.ge_12722_onoff_relay_switch_switch_11_0
state: on
- action: [source /home/homeassistant/.homeassistant/automation.yaml:128]
entity_id: switch.outlet_1
service: homeassistant.turn_on
alias: Turn on outlet 1 when it is nighttime
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:125]
- platform: time
at: 20:00:00
- action: [source /home/homeassistant/.homeassistant/automation.yaml:136]
entity_id: switch.outlet_1
service: homeassistant.turn_off
alias: Turn off outlet 1 when it is daytime
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:133]
- platform: time
at: 09:00:00
- action: [source /home/homeassistant/.homeassistant/automation.yaml:146]
entity_id: scene.bedroom_1_nighttime
service: homeassistant.turn_on
alias: Bedroom 1 Nighttime Timer On
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:141]
platform: time
at: 20:00:00
- action: [source /home/homeassistant/.homeassistant/automation.yaml:157]
entity_id: scene.bedroom_1_daytime
service: homeassistant.turn_on
alias: Bedroom 1 Daytime Timer On
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:152]
platform: time
at: 08:30:00
- action: [source /home/homeassistant/.homeassistant/automation.yaml:169]
entity_id: switch.outlet_2
service: homeassistant.turn_on
alias: Turn on outlet 2 when it is nighttime
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:166]
- platform: time
at: 21:00:00
- action: [source /home/homeassistant/.homeassistant/automation.yaml:177]
entity_id: switch.outlet_2
service: homeassistant.turn_off
alias: Turn off outlet 2 when it is daytime
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:174]
- platform: time
at: 09:00:00
- action: [source /home/homeassistant/.homeassistant/automation.yaml:195]
data: [source /home/homeassistant/.homeassistant/automation.yaml:197]
message: someone is in the house
target: device/Galaxy S5
service: notify.my_pushbullet
alias: Security System
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:188]
- platform: state
entity_id: sensor.vision_zp3111_multisensor_4in1_alarm_level_3_1
state: 255
- platform: state
entity_id: binary_sensor.ecolink_pir_motion_sensor_sensor_4_0
state: on
- action: [source /home/homeassistant/.homeassistant/automation.yaml:207]
entity_id: automation.security_system
service: homeassistant.turn_on
alias: Arm Security When Away
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:202]
platform: state
entity_id: input_boolean.family_home
from: on
to: off
- action: [source /home/homeassistant/.homeassistant/automation.yaml:217]
entity_id: automation.security_system
service: homeassistant.turn_off
alias: Disarm Security When Home
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:212]
platform: state
entity_id: input_boolean.family_home
from: off
to: on
- action: [source /home/homeassistant/.homeassistant/automation.yaml:236]
- entity_id: input_boolean.family_home
service: homeassistant.turn_off
alias: Family Away
condition: [source /home/homeassistant/.homeassistant/automation.yaml:222]
condition: state
entity_id: input_boolean.family_home
state: on
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:226]
- platform: state
entity_id: device_tracker.mike_nmap
state: away
- platform: state
entity_id: device_tracker.rhina_nmap
state: away
- platform: state
entity_id: device_tracker.josh_nmap
state: away
- action: [source /home/homeassistant/.homeassistant/automation.yaml:255]
entity_id: input_boolean.family_home
service: homeassistant.turn_on
alias: Family Home
condition: [source /home/homeassistant/.homeassistant/automation.yaml:241]
condition: state
entity_id: input_boolean.family_home
state: off
trigger: [source /home/homeassistant/.homeassistant/automation.yaml:245]
- platform: state
entity_id: device_tracker.mike_nmap
state: home
- platform: state
entity_id: device_tracker.rhina_nmap
state: home
- platform: state
entity_id: device_tracker.josh_nmap
state: home

Successful config (partial)
automation:
- action: ?
- entity_id: ?
- scene.nighttime
service: homeassistant.turn_on
alias: nighttime timer on
hide_entity: False
trigger: ?
- platform: time
at: 22:00:00
- action: ?
- entity_id: ?
- scene.daytime
service: homeassistant.turn_on
alias: daytime timer on
hide_entity: False
trigger: ?
- platform: time
at: 07:30:00
- action: ?
- delay: 0:01:00
- entity_id: ?
- switch.outlet_4
service: homeassistant.turn_on
alias: turn on bathroom fan for bath time
hide_entity: False
trigger: ?
- platform: state
entity_id: ?
- input_number.bathroom_shower
- action: ?
- delay: 1:00:00
- entity_id: ?
- switch.outlet_4
service: homeassistant.turn_off
alias: turn off bathroom fan for bath time
hide_entity: False
trigger: ?
- platform: state
entity_id: ?
- input_number.bathroom_shower
- action: ?
- entity_id: ?
- switch.outlet_1
service: homeassistant.turn_on
alias: Turn on outlet 1 when it is nighttime
hide_entity: False
trigger: ?
- platform: time
at: 20:00:00
- action: ?
- entity_id: ?
- switch.outlet_1
service: homeassistant.turn_off
alias: Turn off outlet 1 when it is daytime
hide_entity: False
trigger: ?
- platform: time
at: 09:00:00
- action: ?
- entity_id: ?
- scene.bedroom_1_nighttime
service: homeassistant.turn_on
alias: Bedroom 1 Nighttime Timer On
hide_entity: False
trigger: ?
- platform: time
at: 20:00:00
- action: ?
- entity_id: ?
- scene.bedroom_1_daytime
service: homeassistant.turn_on
alias: Bedroom 1 Daytime Timer On
hide_entity: False
trigger: ?
- platform: time
at: 08:30:00
- action: ?
- entity_id: ?
- switch.outlet_2
service: homeassistant.turn_on
alias: Turn on outlet 2 when it is nighttime
hide_entity: False
trigger: ?
- platform: time
at: 21:00:00
- action: ?
- entity_id: ?
- switch.outlet_2
service: homeassistant.turn_off
alias: Turn off outlet 2 when it is daytime
hide_entity: False
trigger: ?
- platform: time
at: 09:00:00
- action: ?
- entity_id: ?
- automation.security_system
service: homeassistant.turn_on
alias: Arm Security When Away
hide_entity: False
trigger: ?
- platform: state
entity_id: ?
- input_boolean.family_home
from: on
to: off
- action: ?
- entity_id: ?
- automation.security_system
service: homeassistant.turn_off
alias: Disarm Security When Home
hide_entity: False
trigger: ?
- platform: state
entity_id: ?
- input_boolean.family_home
from: off
to: on

So I put all the automation’s back in and I think i made all the changes i was told to but i must be missing something.