Hello,
I’m trying to use one of my Xiaomi MiThermometer LYWSD03MMC as a display for a MAX6675 K-Type Thermocouple Temperature Sensor.
The value of the MAX6675 sensor is already in Home Assistant. So this esp32 has to read this value and send it to the MiThermometer display.
I want to always display the MAX6675 temperature in the MiThermometer.
The code I’m using is:
ble_client:
- mac_address: "--:--:--:--:--:--"
id: temp_horno
sensor:
- platform: homeassistant
name: "Temperatura Horno"
id: temp_hornoHA
entity_id: sensor.temperatura_horno
display:
- platform: pvvx_mithermometer
ble_client_id: temp_horno
update_interval: 10s
validity_period: 60s
time_id: homeassistant_time
auto_clear_enabled: false
lambda: |-
it.print_bignum(id(temp_hornoHA).state);
it.print_unit(pvvx_mithermometer::UNIT_DEG_C);
it.print_percent(false);
it.print_happy(true);
it.print_bracket(true);
With this code the temperature of the MAX6675 is displayed, but toggles with the MiThermometer temperature.
I tried modifying update_interval, validity_period and auto_clear_enabled but nothing seems to change. It shows 10 seconds of one, and 10 seconds of the other-one approx.
Is there a way to always show the desired value?
thanks for any help!