@property
    def state(self):
        if self.dweet.data is None:
            return STATE_UNKNOWN
        else:
            values = json.dumps(self.dweet.data[0]['content'])
            value = template.render_with_possible_json_value(
                self.hass, self._value_template, values)
            return value
Return the state.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/dweet.py/DweetSensor.state