If you are building a Smart Home Action, you can use the Timer
trait, which will enable you to query by voice how much time is left, as long as you set the commandOnlyTimer
attribue to false (this allows querying and reporting the device state).
Your execute response can then also include the status of SUCCESS
or any ERROR
codes that may occur when setting the timer.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…