Fix lighting output commands for warn-off and warn-relinquish (#1212)

* Fixed lighting output object lighting-commands for warn-off and warn-relinquish when blink-warn notification shall not occur.

* Fixed timer object task to initiate a write-request at expiration.

* Added channel and timer object write-property observers in blinkt app to monitor internal writes.

* Added vacancy timer command line argument in blinkt app for testing initial timer object vacancy time for lights channel.
This commit is contained in:
Steve Karg
2026-01-28 06:39:02 -06:00
committed by GitHub
parent b6d895ccf0
commit 20f402f5b6
4 changed files with 286 additions and 150 deletions
+4
View File
@@ -2190,6 +2190,10 @@ void Timer_Task(uint32_t object_instance, uint16_t milliseconds)
pObject->Timer_State = TIMER_STATE_EXPIRED;
pObject->Last_State_Change =
TIMER_TRANSITION_RUNNING_TO_EXPIRED;
datetime_local(
&pObject->Update_Time.date, &pObject->Update_Time.time,
NULL, NULL);
Timer_Write_Request_Initiate(object_instance, pObject);
}
break;
case TIMER_STATE_EXPIRED: