Hi all, my first post so please go easy! I’ve only been trying HA out for a couple of weeks.
I have an issue where I cannot add any automations apart from one I added a few days ago (auto backup config each night).
When I add an automation in the GUI and save it, it does not show in the list. However, it does drop in to my automations.yaml file.
If I drop both automations from the YAML file, the nightly automation still shows in the GUI. If I swap them around so my new automation is at the top of the file, still only the nightly automation shows.
What is going on here?
configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.27.0/24
- 172.30.33.0/24
template:
- sensor:
- name: "custom_octopus_energy_current_rate_formatted"
unit_of_measurement: "p"
state: >-
{{ (states('sensor.octopus_energy_electricity_19l3667208_1411993310004_current_rate') | float * 100) | round(1) }}
- sensor:
- name: "custom_octopus_energy_next_rate_formatted"
unit_of_measurement: "p"
state: >-
{{ (states('sensor.octopus_energy_electricity_19l3667208_1411993310004_next_rate') | float * 100) | round(1) }}
- sensor:
- name: "test_value"
unit_of_measurement: "gal"
state: >
{{ (states('sensor.octopus_energy_electricity_19l3667208_1411993310004_next_rate') | float * 100) | round(1) }}
automations.yaml
- id: "1728031921029"
alias: Nightly Backups to NAS
description: ""
triggers:
- trigger: time
at: 01:00:00
conditions: []
actions:
- action: hassio.backup_full
metadata: {}
data:
compressed: true
mode: single
- id: "1728501725184"
alias: "Notify: Motion detected in the Study"
description: ""
triggers:
- type: occupied
device_id: e8e4306daa48fe581faae9f60f510520
entity_id: 85d343fa2e13ad9633ad3983874ed3b8
domain: binary_sensor
trigger: device
conditions: []
actions:
- action: notify.mobile_app_maffoos_iphone
data:
title: Study motion
message: Someone is in the study!
mode: single