Troubleshooting Nofitication

I have been using nodered since moving to HA about 6 months ago, wanted to experiment with some coding and basic app/automation creation using appdaemon. I have written my first app and trying to get the notifications to work. I can use the service call in developer tools and send a notification and I can get notification in nodered, however I can’t get it out of my app.

I keep getting the following error from the log:

 2021-02-21 15:15:26.105975 WARNING HASS: Error calling Home Assistant service default/notify/notify
 2021-02-21 15:15:26.109670 WARNING HASS: Code: 400, error: 400: Bad Request

I am using the self.notify call with the below parameters.

self.notify(message, title="{} Lock" .format(entity))

Here is a github repository with the app files (

I am not a programmer, new to yaml, python, json and all things that aren’t graphical. so don’t kill me to much with formatting.

Any help would be appreciated.

I finally figured it out and have updated the code in github if anyone would like to see how I managed it.