finity69x2 / nws_alerts

An updated version of the nws_alerts custom integration for Home Assistant
84 stars 29 forks source link

Using your config example #36

Closed Vyloo closed 2 years ago

Vyloo commented 2 years ago

I get this error on all the automation.

image

Vyloo commented 2 years ago

image Also this issue?

finity69x2 commented 2 years ago

for the first one above change 'on' to true.

I'm not sure if that was a recent change or not but mine are all still working with 'on'.

Or it could just be a quirk in the editor you are using flagging it unnecessarily.

as for the second one you need to install the "hass-variables" custom integration to use that code.

it can be found in HACS.

Vyloo commented 2 years ago

Also the siren or the Nws alert tone doesn’t seem to work either with this config not sure how to fix this

Sent from my iPhone

On May 13, 2022, at 1:32 PM, finity69x2 @.***> wrote:



for the first one above change 'on' to true.

I'm not sure if that was a recent change or not but mine are all still working with 'on'.

Or it could just be a quirk in the editor you are using flagging it unnecessarily.

as for the second one you need to install the "hass-variables" custom integration to use that code.

it can be found in HACS.

— Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffinity69x2%2Fnws_alerts%2Fissues%2F36%23issuecomment-1126336357&data=05%7C01%7Ccody.boyd%40my.nhcc.edu%7C2df4dc59d671447de37b08da350ef528%7C5011c7c60ab446ab9ef4fae74a921a7f%7C0%7C0%7C637880635611227898%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0z00BxurCxo4PkcjpxfuwoAHfojQwoy6L8rPmAlYPBA%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAO7FLV3PLZ2BDY7K63OE5ILVJ2N4LANCNFSM5VPMR7XA&data=05%7C01%7Ccody.boyd%40my.nhcc.edu%7C2df4dc59d671447de37b08da350ef528%7C5011c7c60ab446ab9ef4fae74a921a7f%7C0%7C0%7C637880635611227898%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HkdJz2RvCK8rIQ%2FDAf3IDfLfjlbfe7dDm0tqHEF2q%2Fw%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

Vyloo commented 2 years ago

image I dont think that did the trick

Nvm it still works with ON its just the Visual Studio editor

finity69x2 commented 2 years ago

You will have to come up with your own alert tone for this. It's not included in the repo.

I can try to add it so you can download it but it still will need to be copied over manually since it can't be installed with HACS.

finity69x2 commented 2 years ago

I've added the file. it is in the www directory here and you need to add it to your www/mp3 directory in HA.

Vyloo commented 2 years ago

I was actually able to download it via the URL that was already in the yaml example.

Do they need to be individually listed for it to work? or can you do media_player.everywhere

image

I've also tried experimenting with other configurations of this but it doesn't work.

Vyloo commented 2 years ago

` data: message: "

The way you have it configured doesn't work for me, after I changed the targets.

finity69x2 commented 2 years ago

You don't have the entity_id line and the entities under it indented enough. They need to be two more spaces to the right.