bhyve-home-assistant icon indicating copy to clipboard operation
bhyve-home-assistant copied to clipboard

sensor.pool_water_valve_zone_history status: complete

Open heffneil opened this issue 1 year ago • 4 comments

sensor.pool_water_valve_zone_history is showing status: complete even when it is running.

Expected behaviour

Seems like the status should show :running or active when the program itself is running?

BHyve devices Smart Hose Tap with Wi-Fi Hub

heffneil avatar Jul 31 '22 14:07 heffneil

Likely a duplicate of #142. If you do not believe this is the case please reopen and provide more detailed information (logs with debug enabled, device diagnostics, other steps to reproduce)

thanks!

sebr avatar Aug 01 '22 00:08 sebr

I am looking at the status of the program which is running for 2 hours and during that entire time, it shows completed. Perhaps, since it part of history it will only show completed. How would one know when the program is running realtime? WIthin switch?

heffneil avatar Aug 01 '22 00:08 heffneil

Zone History shows when individual times which the program was run - not currently active status.

The event data does show which program started, but it is not currently available on the switch attributes. I'll see about adding this. See the example here, which shows program: a (as opposed to manual)

{
 
 "event":"watering_in_progress_notification",
  "program":"a",
  "current_station":1,
  "run_time":21.0,
  "started_watering_station_at":"2022-07-21T05:15:40.000Z",
  "rain_sensor_hold":false,
  "device_id":"xXxxXxxxXXxXXxxXxxXXxxXXx",
  "timestamp":"2022-07-21T05:15:40.000Z"
}

sebr avatar Aug 01 '22 00:08 sebr

Does the switch state of the valve change when the program is running? I am looking to trigger the completion of the program and notify of the quantity of water used. I changed my trigger on pool water valve zone [switch.pool_water_valve_zone] but that status didn't change today despite the program running and water being released. Thanks!

heffneil avatar Aug 02 '22 02:08 heffneil