1RandomDev / homeassistant-gotify

HomeAssistant notification platform for Gotify.
GNU General Public License v3.0
13 stars 1 forks source link

HACS Install instructions a little off. #1

Open Krojack opened 5 months ago

Krojack commented 5 months ago

Just an FYI, Your custom component isn't listed in the default HACS when you search. People need to first add your github URL

In HACS go to integrations and click the 3 dots in the upper right add a new custom repository Input https://github.com/1RandomDev/homeassistant-gotify as the URL Select Integration as the category then click add.

Now someone can search for Gotify Notifications and it will show up.

1RandomDev commented 5 months ago

Thanks I should probably make this more clear in the README. My initial plan was to publish the repository in HACS but it was such a pain in the ass to get it published there with all the tests and the requirement of having an icon in the HomeAssistant brands repository where I again got rejected because the name could be confused with an official intagration thet does not exist... So I just decided to close all pull requests and maintain the repo myself until HA gets official support for Gotify.

rightsaidfred99 commented 3 months ago

I'm too stupid to figure it out as well

I've installed it, but it looks to me the instructions are saying you can add something like this to yaml files

action:

But I keep getting

Message malformed: extra keys not allowed @ data['action']

The default UI for the actions doesn't seem to send messages. I know it's not a help thingy here but the instructions do help for newbies like me lol

1RandomDev commented 3 months ago

add something like this to yaml files

What you posted goes into the action part of your automation (or you can configure it via the GUI like any other notification provider). To the YAML file you have to add the code that's under Configuration