From 23a8b4cb8da0dcb25bdcd65fd3777554b86b4cbc Mon Sep 17 00:00:00 2001 From: Brandon Harvey Date: Mon, 9 Mar 2026 15:28:43 -0500 Subject: [PATCH] fix: add logbook entry when auto refill triggers via invert water logic Adds a homeassistant.action logbook.log call in the fluid_input_sensor on_release handler so that HA logbook records when the pump is triggered automatically by the CPAP auto refill + invert water logic mode. --- Integrations/ESPHome/Core.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index d93f774..1dc1635 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -245,6 +245,11 @@ binary_sensor: - switch.is_off: pump_control then: - logger.log: "Auto refill triggered - tank level low" + - homeassistant.action: + action: logbook.log + data: + name: "PUMP-1" + message: "Auto refill triggered - tank level low" - script.execute: pumpUntilFull - platform: gpio