mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 02:07:54 +00:00
Remove temperature attribute from SimpliSafe alarm control panel (#24833)
This commit is contained in:
parent
e8d1d28fdd
commit
19a65f8db6
@ -14,7 +14,6 @@ from .const import DATA_CLIENT, DOMAIN, TOPIC_UPDATE
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_ALARM_ACTIVE = 'alarm_active'
|
||||
ATTR_TEMPERATURE = 'temperature'
|
||||
|
||||
|
||||
async def async_setup_platform(
|
||||
@ -120,8 +119,6 @@ class SimpliSafeAlarm(alarm.AlarmControlPanel):
|
||||
from simplipy.system import SystemStates
|
||||
|
||||
self._attrs[ATTR_ALARM_ACTIVE] = self._system.alarm_going_off
|
||||
if self._system.temperature:
|
||||
self._attrs[ATTR_TEMPERATURE] = self._system.temperature
|
||||
|
||||
if self._system.state == SystemStates.error:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user