Skip to content

Initial Setup Issue #1

@tslpre

Description

@tslpre

Hello! This module is a good idea, definitely useful to cover something that it's missing!

However I've tried to set this up and failed:

  1. the configuration example talks about using "lock_manager:" while I believe it's "lock_history:"
  2. If I configure it as "lock_history" and then restart Hassio, I always get this error:

ERROR (MainThread) [homeassistant.setup] Error during setup of component lock_history Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 193, in _async_setup_component result = await asyncio.wait_for(task, SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/config/custom_components/lock_history/__init__.py", line 278, in async_setup await manager.async_initialize() File "/config/custom_components/lock_history/__init__.py", line 173, in async_initialize self._history = raw_storage["history"] TypeError: 'NoneType' object is not subscriptable

I have a Zipato RFID Keypad

Environment information:

  1. I am on Homeassistant 0.112.4 on a Raspberry Pi 3B+
  2. Supervisor: 228
  3. HassOS: 4.11 production
  4. Relevant configuration snippet (real username changed to "User" and real code changed to xx xx etc.):

lock_history: zwave_node_id: 2 ozw_log: /config/OZW_Log.txt tags: - name: User user_code: xx xx xx xx xx xx xx xx xx xx

Is there anything I'm doing wrong? Happy to support with testing...

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