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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user