# Electric Water Heater ## Features - Supports target temperature - Supports sterilization and Memo U (smart memory) switches ## Customize - Set the protocol of device ("auto" by default). There are 2 different protocol version to control Electric Water Heater, "old protocol" or "new protocol". If you can't control your device, try change this item and see if it works. The options include true, false, and "auto". ```json { "old_protocol": true } ``` - Set the temperature precision for whole or halves (false for whole and true for halves, default by false) If the temperature value displayed on your water heater is twice the actual value, please set this value to true. ```json { "precision_halves": true } ``` - Set the temperature step (1 by default). ```json { "temperature_step": 0.5 } ``` - Set the heating power multiplier (1 by default). Some Electric Water Heater models report a nominal heating power that does not match the measured real power consumption. Use `heating_power_multiplier` to calibrate the `sensor.{DEVICEID}_heating_power` value while keeping the default behavior unchanged when it is not configured. For example, if the device reports `2000 W` but the measured consumption is `1500 W`, use a multiplier of `0.75`: ```json { "heating_power_multiplier": 0.75 } ``` ## Entities ### Default entity | EntityID | Class | Description | | ------------------------------------- | ------------ | ------------------- | | water_heater.{DEVICEID}\_water_heater | water_heater | Water heater entity | ### Extra entities | EntityID | Class | Description | | ----------------------------------------- | ------------- | ------------------- | | binary_sensor.{DEVICEID}\_heating | binary_sensor | Heating | | binary_sensor.{DEVICEID}\_heat_insulating | binary_sensor | Heat Insulating | | binary_sensor.{DEVICEID}\_protection | binary_sensor | Protection | | sensor.{DEVICEID}\_heating_power | sensor | Heating Power | | sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature | | switch.{DEVICEID}\_auto_cut_out | switch | Auto Cut-out | | switch.{DEVICEID}\_memory | switch | Memo U | | switch.{DEVICEID}\_power | switch | Power | | switch.{DEVICEID}\_sterilization | switch | Sterilization | | switch.{DEVICEID}\_variable_heating | switch | Variable Heating | | switch.{DEVICEID}\_whole_tank_heating | switch | Whole Tank Heating | ## Services ### midea_ac_lan.set_attribute [![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) Set the attribute of appliance. Service data: | Name | Description | | --------- | ---------------------------------------------------------------------------- | | device_id | The Appliance code (Device ID) of appliance | | attribute | "auto_cut_out"
"power"
"variable_heating"
"whole_tank_heating" | | value | true or false | Example ```yaml service: midea_ac_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: variable_heating value: true ```