LAB02-Research / HASS.Agent-Notifier

HASS.Agent Notifier integration. Adds notifications to HASS.Agent - a Windows based client for Home Assistant.
MIT License
67 stars 4 forks source link

Bug: don't generate errors if target IP doesn't answer #8

Closed pannal closed 2 years ago

pannal commented 2 years ago

Hey there, thank you for this app!

I have one little issue that I'd love to be addressed: My notification script in HA uses multiple targets (phone, PC, etc.). If my PC is off, the notification causes an error traceback in HA due to the PC not answering and kills the rest of the script execution.

Would it be possible to add an option to catch network errors and not raise them?

LAB02-Admin commented 2 years ago

Sure thing!

LAB02-Admin commented 2 years ago

Fixed in the latest release, thanks for the tip :)