Skip to content

Fix common HASPone issues

Allen Derusha edited this page May 15, 2021 · 3 revisions

If you're experiencing problems with automations not firing or errors showing up such as UndefinedError: None has no element 0 when automations do fire, here are a few things you can do which might reset things back into a working state:


Remove duplicate devices

  1. Under Configuration > Devices, search for your HASPone device name. If there are more than one instances of your device, proceed with the following steps. Otherwise, you're all set and can skip the next bit.
  2. Click on each duplicate device in turn. You'll want to delete any "orphaned" devices and keep the one active device. Here's what an active device should look like:

Good device

That's your "good" device and is the one you want to keep. You will probably also find one or more "dead" devices that look like this (notice all the entities are greyed out):

Baddevice

or like this (all the entities are missing):

Baddevice

  1. Delete any orphaned devices by clicking the DELETE button, leaving only the single active device.
  2. Under Configuration > Automations, review all deployed HASP automations and make sure the HASP Device field has the correct HASPone device selected. If the automation was using one of your now-deleted devices, that field will be empty. Select your active device, hit SAVE, and everything should once again be working.

Re-run Core functionality "First-time HASP setup or reset"

  1. Under Configuration > Automations, find your HASP Core functionality automation deployed from blueprint and click the 🖉 icon to edit.
  2. At the very bottom of the blueprint you'll find an option First-time HASP setup or reset. Enable that option, click SAVE, then back at the top of the blueprint click RUN ACTIONS.
  3. You can now disable First-time HASP setup or reset and click SAVE