Skip to content

Intermittent 'NoneType' error when triggering alarm script #59

@sharonoren1

Description

@sharonoren1

Hi,

I have a script that arms my alarm, which is triggered by a button. On average, about once a day when I trigger it, I get the following error message:
Failed to perform the action script/alarm_button. 'NoneType' object is not subscriptable
After restarting HA, both the button and the script work correctly again.
Any ideas on what might be causing this?

Log details:
This error originated from a custom integration.

Logger: custom_components.visonicalarm
Source: custom_components/visonicalarm/init.py:127
integration: Visonic/Bentel/Tyco Alarm System (documentation)
First occurred: 05:03:48 (33837 occurrences)
Last logged: 22:39:14

Update failed: HTTPSConnectionPool(host='visonic.tycomonitor.com', port=443): Read timed out. (read timeout=None)
Update failed: 'NoneType' object is not subscriptable

Kind regards,
Oren

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions