###
### DO NOT TOUCH THIS FILE!!!
###

from models.device import Device
from models.multiton import multiton
from typing import Optional


@multiton
class CO2Sensor(Device):
    """
    A CO2 sensor.
    """

    def __init__(self, name: str):
        super().__init__(name, "co2")

    def read(self) -> Optional[float]:
        """
        Reads the value of the sensor. Returns None if KNX did not answer.
        """
        pass

###
### DO NOT TOUCH THIS FILE!!!
###

from models.device import Device
from models.multiton import multiton
from typing import Optional


@multiton
class CO2Sensor(Device):
    """
    A CO2 sensor.
    """

    def __init__(self, name: str):
        super().__init__(name, "co2")

    def read(self) -> Optional[float]:
        """
        Reads the value of the sensor. Returns None if KNX did not answer.
        """
        pass

### ### DO NOT TOUCH THIS FILE!!! ### A CO2 sensor. Reads the value of the sensor. Returns None if KNX did not answer.