@staticmethod
    def _int_to_bool(value):
        return bool(int(value))
Initialize the sensor.
dataset/ETHPy150Open MediaMath/t1-python/terminalone/entity.py/Entity._int_to_bool--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/twitch.py/TwitchSensor.__init__