I’m not actually sure if this matters or not but I’ve always had the homeassistant: section and http: sections at the beginning of my configuration.yaml file. Also not sure if linux is case sensitive or not but make sure whatever your have in your config file (!include_dir_named packages) matches the directory name (you called it Packages in your comment).
Also, if you have not updated to v0.113 yet, comment out the mode: queued line in the automations in the package file.
homeassistant:
packages: !include_dir_named packages
http:
base_url: https://xxxxxxxxxxxxx
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Component files
group: !include groups.yaml
automation: !include automations.yaml
etc. etc.
Try that first. Check your config and don’t forget to restart!
Thx! Looks like it was the ‘Packages’ name, and/or arrangement of the config file. Sensor now shows in Entities and Dev Tools/States.
In terms of use… I’m simply using the automations you have in the package; I assumed this would trigger a notification from/in my HA Android app, but sounds like I need to update Lovelace first? If so, how do I do that? Pardon for the ‘learning curve’ questions herein.
Thanks again. How do I mark a comment a solution, especially if I did not start the Question, and this is in Projects, so not sure we can even mark solutions. I would, but I don’t find the Solution icon/button.
No, what he was saying is that you started this thread. So you are the only one who can mark the thread as “solved”. No one else even has the icon to mark it as “solved”.
Scott just happened to ask you a question that you answered in your own thread. Scot can’t mark your thread as solved. Only you can.
What does not working mean? You have both the sensor configuration and an automation there. Is there a sensor.unavailable_entities listed in the Developer Tools states page?
I display a UI card with any unavailable entities. This works now great, however, when the entity becomes available again, it is not removed from the unavailable entities list until I reboot HA. Is there a means to have the card refreshed when an entity is back online?
If that line is in the sensor config, it should be updating every minute (which means it can take up to a minute to reflect any changes). What card are you using to display your unavailable sensors? If anything all you should have to do is refresh your lovelace view. You should never have to reboot HA to see any changes.
The state of this sensor should never be unknown, it should always resolve to an integer number.
You are going to have to post your config so we can see where you’ve gone wrong.
sensor.time is in the config for this package, but I have not configured a sensor like you show anywhere in my code. Where should this code appear/be placed?
Edit: I found the sensor info and placed in my config file.
Update: Since adding Date & Time to my config, the Unavailable Sensors card has been properly updating… thanks.