Adding Extra Temperature Sources
It's possible to add additional sensors as temperature sources. The temperature_sources
key takes a list of IDs d
defined in the ESPHome configuration. Note that all sensors must return values in degrees Celsius - conversion may
be necessary for some sensors.
If an MHK2 is connected and configured, it will automatically add itself as a valid temperature source.
If an update from the sensor is not received after 7 min, the component will switch back to using the heat pump's internal temperature sensor. Ensure any sensors report at least every 7 minutes.
The heat pump itself will revert back to the internal sensor after approximately 10 minutes without an update, and this component enforces that check.
sensor:
- platform: homeassistant
id: office_temperature
name: "Office Temperature Sensor"
entity_id: sensor.office_air_temperature
filters:
- lambda: return ((x - 32.0) * (5.0 / 9.0)); # Remember to convert F to C!
climate:
- platform: mitsubishi_itp
uart_heatpump: hp_uart
# ...
temperature_sources:
- office_temperature
The sensor name as defined in ESPHome will also display in the Home Assistant UI for the temperature selector.