    def device_class(self):
        """Return the class of this binary_sensor."""
        return BINARY_SENSOR_DEVICE_CLASS
Return the class of this binary_sensor.
custom_components/bermuda/binary_sensor.py