gazoscalvertos / Hass-Custom-Alarm

Yet another take on a home assistant custom alarm
221 stars 94 forks source link

Can't arm Perimeter Mode. #1

Closed lee-costa closed 6 years ago

lee-costa commented 6 years ago

I can see the night service being called but it doesn't change state. It remains disarmed. However, I can successfully call it under dev tools.

I made sure that Perimeter mode is enabled on my config.

edit 1 - It appears that the alarm doesn't like the lock.NAME style locks. I have since remove them and its all back to normal.

edit 2- error received

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step result = coro.throw(exc) File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1031, in _event_to_service_call yield from service_handler.func(service_call) File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/alarm_control_panel/__init__.py", line 142, in async_alarm_service_handler yield from getattr(alarm, method)(code) File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup value = future.result() File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result raise self._exception File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/alarm_control_panel/__init__.py", line 212, in alarm_arm_night raise NotImplementedError() NotImplementedError