Understanding last_sensor_start_time Behavior: Seeking Clarity on Timestamp Assignment and its Impact on Job Activation #19004
laisdeghaide
started this conversation in
Community
Replies: 2 comments
-
|
cc @prha IIRC I think you added these properties? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @laisdeghaide thanks for reporting and apologies for the long delay. I just put up a PR to patch this and will have this go out in the next release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Regarding the new releases, specifically
the is_first_tick_since_sensor_startandlast_sensor_start_timeproperties, I'm seeking clarification on whetherlast_sensor_start_timeis assigned a timestamp only when the sensor undergoes a restart.I have a sensor for which I intend to activate my job solely upon restart, preventing multiple evaluations on previous ticks once the sensor is powered on again. However, I've observed that in the initial tick following a restart,
last_sensor_start_timeis populated with a timestamp, but in subsequent ticks, it appears to be set to None.Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions