mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Revert "Add support to the Econet integration for new attributes: lower_temp, upper_temp, ambient_temp & is_enabled (#33363)" (#33555)
This reverts commit a30e217bb513f7fe80f11baa40d42c0b68e1bc4d.
This commit is contained in:
parent
a30e217bb5
commit
9165ea5fbd
@ -40,11 +40,6 @@ ATTR_IN_USE = "in_use"
|
|||||||
ATTR_START_DATE = "start_date"
|
ATTR_START_DATE = "start_date"
|
||||||
ATTR_END_DATE = "end_date"
|
ATTR_END_DATE = "end_date"
|
||||||
|
|
||||||
ATTR_LOWER_TEMP = "lower_temp"
|
|
||||||
ATTR_UPPER_TEMP = "upper_temp"
|
|
||||||
ATTR_AMBIENT_TEMP = "ambient_temp"
|
|
||||||
ATTR_IS_ENABLED = "is_enabled"
|
|
||||||
|
|
||||||
SUPPORT_FLAGS_HEATER = SUPPORT_TARGET_TEMPERATURE | SUPPORT_OPERATION_MODE
|
SUPPORT_FLAGS_HEATER = SUPPORT_TARGET_TEMPERATURE | SUPPORT_OPERATION_MODE
|
||||||
|
|
||||||
ADD_VACATION_SCHEMA = vol.Schema(
|
ADD_VACATION_SCHEMA = vol.Schema(
|
||||||
@ -173,11 +168,6 @@ class EcoNetWaterHeater(WaterHeaterDevice):
|
|||||||
data[ATTR_TODAYS_ENERGY_USAGE] = todays_usage
|
data[ATTR_TODAYS_ENERGY_USAGE] = todays_usage
|
||||||
data[ATTR_IN_USE] = self.water_heater.in_use
|
data[ATTR_IN_USE] = self.water_heater.in_use
|
||||||
|
|
||||||
data[ATTR_LOWER_TEMP] = round(self.water_heater.lower_temp, 2)
|
|
||||||
data[ATTR_UPPER_TEMP] = round(self.water_heater.upper_temp, 2)
|
|
||||||
data[ATTR_AMBIENT_TEMP] = round(self.water_heater.ambient_temp, 2)
|
|
||||||
data[ATTR_IS_ENABLED] = self.water_heater.is_enabled
|
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user