#Why can't I create automations?

15 messages · Page 1 of 1 (latest)

dusk harbor
#

I am having a weird issue where automations I add aren't saved and I can't find what is going on. This is how my config looks like:

homeassistant:
  name: Home
  latitude: !secret latitude_home
  longitude: !secret longitude_home
  elevation: 0
  unit_system: imperial
  temperature_unit: F
  time_zone: America/New_York
  currency: USD
  internal_url: !secret internal_url
  external_url: !secret external_url

  packages:
    !include_dir_named includes/packages
    #irrigation: !include includes/packages/irrigation.yaml

default_config:
wake_on_lan:

tts:
  - platform: google_translate

frontend:
  themes: !include_dir_merge_named themes/

sensor: !include_dir_list includes/sensors/
automation: !include includes/automation/automations.yaml
script: !include includes/script/scripts.yaml
scene: !include includes/scene/scenes.yaml
ios: !include includes/actions/ios.yaml
template: !include includes/templates/template.yaml
input_boolean: !include_dir_merge_named includes/inputs/boolean
input_number: !include_dir_merge_named includes/inputs/number

group: !include includes/groups/groups.yaml

telegram_bot:
  - platform: polling
    api_key: !secret telegram_api_key
    allowed_chat_ids:
      - !secret telegram_reynierpm_chat_id

utility_meter:
  hourly_energy:
    source: sensor.energy_meter
    cycle: hourly
  daily_energy:
    source: sensor.energy_meter
    cycle: daily
  monthly_energy:
    source: sensor.energy_meter
    cycle: monthly

  hourly_water:
    source: sensor.water_meter
    cycle: hourly
  daily_water:
    source: sensor.water_meter
    cycle: daily
  monthly_water:
    source: sensor.water_meter
    cycle: monthly

I have NodeRED installed as well

old lava
#

You have them included in a sub directory

#

automation: !include includes/automation/automations.yaml

dusk harbor
#

yeah, so should I just commented out that line and it should start working, right?

old lava
#

you'll lose all your existing automations

dusk harbor
#

I have nothing there

old lava
#

Then you need to reset the line to the default

#

removing it will remove automation integration

dusk harbor
old lava
#
automation: !include automation.yaml
dusk harbor
#

do I need to create the file or will HA do it for me?

old lava
#

No idea

tired bison
#

HA does that

dusk harbor
#

it works now, thanks