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:
- the configuration example talks about using "lock_manager:" while I believe it's "lock_history:"
- 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:
- I am on Homeassistant 0.112.4 on a Raspberry Pi 3B+
- Supervisor: 228
- HassOS: 4.11 production
- 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...
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:
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 subscriptableI have a Zipato RFID Keypad
Environment information:
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 xxIs there anything I'm doing wrong? Happy to support with testing...