class
PlaceOS::Triggers::State
- PlaceOS::Triggers::State
- Reference
- Object
Defined in:
placeos-triggers/state.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
- #check_trigger!
- #count : Int64
- #increment_action_error
- #increment_comparison_error
- #instance : Model::TriggerInstance
- #instance_id : String
- #monitor!
- #publish_state
- #set_condition(key : String, state : Bool)
- #temporary_condition_met(key : String)
- #terminate!
- #time_at(key, time)
- #time_cron(key, cron, timezone)
- #trigger : Model::Trigger
- #trigger_id : String
- #triggered? : Bool
- #update_state(triggered : Bool)