Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect property usage for SimpliSafe #42770

Merged
merged 1 commit into from
Nov 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions homeassistant/components/simplisafe/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ async def async_alarm_disarm(self, code=None):
try:
await self._system.set_off()
except SimplipyError as err:
LOGGER.error('Error while disarming "%s": %s', self._system.name, err)
LOGGER.error('Error while disarming "%s": %s', self._system.system_id, err)
return

self._state = STATE_ALARM_DISARMED
Expand All @@ -172,7 +172,9 @@ async def async_alarm_arm_home(self, code=None):
try:
await self._system.set_home()
except SimplipyError as err:
LOGGER.error('Error while arming "%s" (home): %s', self._system.name, err)
LOGGER.error(
'Error while arming "%s" (home): %s', self._system.system_id, err
)
return

self._state = STATE_ALARM_ARMED_HOME
Expand All @@ -185,7 +187,9 @@ async def async_alarm_arm_away(self, code=None):
try:
await self._system.set_away()
except SimplipyError as err:
LOGGER.error('Error while arming "%s" (away): %s', self._system.name, err)
LOGGER.error(
'Error while arming "%s" (away): %s', self._system.system_id, err
)
return

self._state = STATE_ALARM_ARMING
Expand Down