Automation Issue After 0.40.1 upgrade

Good morning guys; i’m running to a little issue with my automation .yaml file; before the .0.40.1 upgrade when i create an automation scene to the automation.yaml file, that used to display instantly on the dashboard. Now since atfer the upgrade any new scene i’ve created does not show. Any idea.

Let’s start with some basics. Assuming:

  • you restarted HA
  • you checked home-assistant.log for errors
  • looked at the states dev tool to see if HA sees the automation
  • haven’t overridden HA’s default home view that auto-adds everything
2 Likes

as far as i can tell my log does not indicate any mis-configuration and also when i do a config check thru the dashboard, HA said that the config is “valid”

Three more to go:

i did reboot the whole thing and no new automation had shown. I even put an extra space in front of one of code; and the strange thing is i did not receive an error either.

this is the automation I’m trying to setup and so far it does not show

  • alias: ‘Turn on Laundry Light Room when Door Opens’

    trigger:
    platform: state
    entity_id: binary_sensor.aeotec_zw089_recessed_door_sensor_gen5_sensor_7_0
    from: ‘off’
    to: ‘on’

    condition:
    - condition: state
    entity_id: switch.ge_45609_onoff_relay_switch_switch_12_0
    state: ‘off’

    action:
    - service: homeassistant.turn_on
    entity_id: switch.ge_45609_onoff_relay_switch_switch_12_0

The non-specific “added a space” has me concerned. I suspect that there’s an error in home-assistant.log telling you what the issue is.

Two more suggestions to go:

  • looked at the states dev tool to see if HA sees the automation
  • haven’t overridden HA’s default home view that auto-adds everything

the added space was for me to test if i was going to get some kind of error, but i didn’t get any. Also HA does not show any of my new automation setup. i still saw my default-view that i setup from the beginning. I’ve been banging my head all night and i still cannot any result.

Check home-assistant.log. At the top of the file, when HA starts.

Post the actual automation section from your configuration here. The full section, starting with “automation:”. Use preformatted text so that we can spot issues.

homeassistant:

Name of the location where Home Assistant is running

name: Preformatted textHome Automation

Location required to calculate the time the sun rises and sets

latitude: 26.XXX
longitude: -81.XXX

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

elevation: 6

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: America/New_York
customize: !include customize.yaml

Automation.yaml file:

  • alias: Office Door Light Off

    trigger:
    - platform: state
    entity_id: switch.zooz_unknown_type0115_id4e1c_switch_9_0
    from: ‘off’
    to: ‘on’
    for:
    hours: 0
    minutes: 15
    seconds: 0

    action:
    - service: homeassistant.turn_off
    entity_id: switch.zooz_unknown_type0115_id4e1c_switch_9_0

Preformatted text.

Not very clear… the first automation you posted in a few posts above is a different one that you post here…

Also I see only:

customize: !include customize.yaml

so where is your include for the automation.yaml??

Maybe something went wrong in the C&P?