So Initially I had the float value set to “float >= 35” that gave me an output on my history for the Water Level of 233.33, when I’ve changed it to “float == 0”, now it at least starts at 0 but ideally I’d like it to be delayed by say 30 seconds. An automation doesn’t seem to be the answer and because my coding knowledge is slim I can’t work out what I’d need to write.
30 seconds after startup perform a homeassistant.update_entity. But in reality this is pointless because the sensor will update with a specific period. Once your system is fine tuned, you’ll never be restarting.
Doesn’t that just force the update of that specific entity rather than stop all updates of it. I.e I’ve got it to send out data every 10 seconds. Even if I had to do it every say 60 seconds the mean would still be 0 and then my water level would be calculated on that 0. Only the Current Ultrasonic Distance will be marked as (Unknown).
I read on another thread that doing that would be a possible solution. It would’ve been another option if I could delay the read by 30 seconds, now it’s no longer a thought though with the above solution.