Skip to content

Commit

Permalink
Cleanip
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST committed Jun 7, 2020
1 parent f959b1a commit ec8d837
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions custom_components/sector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,10 @@ async def async_setup(hass, config):
class SectorAlarmHub(object):

def __init__(self, fullsysteminfo, panel_id, userid, password, authtoken):

self._lockstatus = {}
self._tempstatus = {}
self._alarmstatus = None
self._changed_by = None

self.fullsysteminfo = fullsysteminfo
self.panel_id = panel_id
self.userid = userid
Expand Down
2 changes: 0 additions & 2 deletions custom_components/sector/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ async def async_alarm_arm_home(self, code=None):
return False

async def async_alarm_disarm(self, code=None):

command = "disarm"
if not self._validate_code(code):
return
Expand All @@ -98,7 +97,6 @@ async def async_alarm_disarm(self, code=None):
return False

async def async_alarm_arm_away(self, code=None):

command = "full"
if not self._validate_code(code):
return
Expand Down

0 comments on commit ec8d837

Please sign in to comment.