@property
    def state(self):
        return self._state
Accept both booleans and CLIFilters as input and
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/mqtt.py/MqttSensor.state--crossover with--dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/filters/utils.py/to_cli_filter