mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Move imports to top for spc (#33628)
This commit is contained in:
parent
f71125092f
commit
29df8e546f
@ -1,7 +1,7 @@
|
||||
"""Support for Vanderbilt (formerly Siemens) SPC alarm systems."""
|
||||
import logging
|
||||
|
||||
from pyspcwebgw.const import ZoneInput
|
||||
from pyspcwebgw.const import ZoneInput, ZoneType
|
||||
|
||||
from homeassistant.components.binary_sensor import BinarySensorDevice
|
||||
from homeassistant.core import callback
|
||||
@ -13,8 +13,6 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _get_device_class(zone_type):
|
||||
from pyspcwebgw.const import ZoneType
|
||||
|
||||
return {
|
||||
ZoneType.ALARM: "motion",
|
||||
ZoneType.ENTRY_EXIT: "opening",
|
||||
|
Loading…
x
Reference in New Issue
Block a user