ESPHome synchronizing two sensor value updates

I just realised that may not be what you’re after. My example above should push both values to HA at the same time. I think maybe you want both pressures to be sampled and published to HA at the same time?

In that case, in one of your ads1115 sensors, you could try this. You may need to set the update_interval of the outgoing sensor to never

sensor:
  - platform: ads1115
    multiplexer: 'A0_GND'
    gain: 6.144
    name: "Incoming Water Pressure"
    id: incoming_water_pressure
    update_interval: 5s
    unit_of_measurement: "psi"
    icon: "mdi:gauge"
    accuracy_decimals: 1
    on_value:
      then:
        - component.update: outgoing_water_pressure
2 Likes