def __init__(self, channel):
        self._channel = channel
        self._state = STATE_OFFLINE
        self._preview = None
        self._game = None
        self._title = None
        self.update()
Initialize the sensor.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/twitch.py/TwitchSensor.__init__