'Return the optional state attributes.'

@property
def device_state_attributes(self):

    data = {}
    target_temp_high = self.target_temperature_high
    target_temp_low = self.target_temperature_low
    if (target_temp_high is not None):
        data[ATTR_TARGET_TEMP_HIGH] = self._convert_for_display(self.target_temperature_high)
    if (target_temp_low is not None):
        data[ATTR_TARGET_TEMP_LOW] = self._convert_for_display(self.target_temperature_low)
    data['total_consumption'] = self.wink.total_consumption()
    data['schedule_enabled'] = self.wink.schedule_enabled()
    return data
