#Automation not being saved - HA Docker

1 messages · Page 1 of 1 (latest)

hollow coyote
#

I am kind of new to the HA game, so forgive the questions please. Need some help finding the reason for HA Automations created in UI not saving. Using HA Docker image,
Home Assistant 2023.6.1, Frontend 20230608.0 - latest.
I have BNETA light setup and has been working fine. Tried to add automation to dimm the light at 22:00, but after saving, the system reported no automations.
Then after some searching found I have no "File Editor" installed. One thing led to another and realized I am not seeing a lot of things folks are talking about.
Any help, or direction would be appreciated.

Thanks in advance
Madmob

lost breach
#

so yeah - this is likely a configuration error - if you don't have automations.yaml included in it, you won't see any automations you make in the UI show up

#

you're on docker, so can you access the underlying filesystem?

hollow coyote
#

Thanks so much for the response. I had the same idea, but the Check Configuration operation passed with no issues. I had also restarted HA after just to be sure.
And yes, being a docker instance, I do have the option to go to the files directly.
One of the things I am looking to solve is the fact that I can not access the yaml files from the UI, the File Editor add-on.
Will have a look see at the actual files and update the thread if I find something.
Madmaob

lost breach
#

yeah - not having the automations.yaml file included isn't actually an error that the configuration checker will pick up, as some people choose to have it like that

#

docker installs can't use addons, you'd need to do a HAOS install on a VM if you wanted that

hollow coyote
#

Got it, seems you have it on the nose, the automations.yaml was not included in the configuration.yaml file.
for reference I added the following to the file:
automation: !include automations.yaml

#

So on the Add-on's, how would I go about adding any other plugins or add-on's in the Docker version?
Madmob

lost breach
hollow coyote
#

Will have to have a look see, Thanks a lot for the help, much appreciated
Madmob

lost breach
#

tbh i used vscode server on container for years, just install it with docker pointed at the config folder and then you can put a link to it in a dashboard, it's better than the file editor addon anyway (though the vscode addon is better than having it accessible remotely)

hollow coyote
#

Last question, related to Automation of lights.
Can you guys maybe tell me how would I add the value to dimm to in the following:
id: '1733081912426'
alias: his_bedroomLight_dimm
description: Dimm His bedroom light at 10:00 at night
trigger:

  • platform: time
    at: '22:00:00'
    condition:
  • condition: device
    type: is_on
    device_id: 49eb9ff6ebf3cbea84a49a74bbbc435b
    entity_id: light.bneta_02
    domain: light
    action:
  • device_id: 49eb9ff6ebf3cbea84a49a74bbbc435b
    domain: light
    entity_id: light.bneta_02
    type: brightness_decrease
    mode: single
lost breach
#

Try to use entity actions not devices if you can

#

Light.turn_on can have a brightness key set