Closed anamonta closed 3 months ago
The pulse meter is water_pulsecounter
, so that's what you have to reference, not the sensor.
The pulse meter is
water_pulsecounter
, so that's what you have to reference, not the sensor.
You are true! Thanks for fast and correct answer. Now I just need to understand how the script has worked in the past... Anyhow this problem can be closed, sorry for all!
The problem
Updated ESPHOME in HA to latest version(2024.7.3) from previous. Most of ESP's updated nicely but my water meter does not wan't to upgrade and I cannot find the problem. Code has not been changed between the versions. I am very new to yaml so the global reading and writing has been copied from the webs.
The error I receive: ID 'water_total' of type sensor::Sensor doesn't inherit from pulse_meter::PulseMeterSensor. Please double check your ID is pointing to the correct value.
From script window I highlight the id (water_total) with mouse and it is the same (in writing etc) on sensor and the global reading.
Which version of ESPHome has the issue?
2024.7.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.7.4
What platform are you using?
ESP32
Board
No response
Component causing the issue
pulse_meter
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response