def __init__(self, name, hikvision_cam):
        self._name = name
        self._hikvision_cam = hikvision_cam
        self._state = STATE_OFF
Initialize the switch.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/hikvisioncam.py/HikvisionMotionSwitch.__init__