OpenEPaperLink / Home_Assistant_Integration

Home assistant Integration for the OpenEPaperLink project
Apache License 2.0
133 stars 32 forks source link

Service stops automation when calling a non existing tag #94

Closed tomm1ed closed 6 months ago

tomm1ed commented 6 months ago

Describe the bug When a tag has been unreachable for some time and Home Assistant is restarted or this integration is reloaded the corresponding entity gets removed. When an automation using the draw custom service is used with a removed/non existent tag entity ID that automation stops running and the following steps are not executed.

To Reproduce Steps to reproduce the behavior:

  1. Go to automations and create a valid call to the draw custom service and use a non existent tag identity as target. Add a second action after that doing whatever
  2. Click on Run
  3. Click on traces
  4. See that automation does not run beyond the action containing the invalid tag identity

Expected behavior Have some error handling allowing the next action to run

jonasniesner commented 6 months ago

better error handling will be implemented later today