Skip to content

Commit 1c6aafc

Browse files
authored
Update actions.md (openhab#1590)
1 parent 3f4a263 commit 1c6aafc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

addons/actions.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ Therefore openHAB provides a bunch methods to be used in Rules.
123123

124124
#### Rules DSL
125125

126-
- `boolean isLocation(Item)` - checks if the given Item is is a Location
127-
- `boolean isEquipment(Item)` - checks if the given Item is is an Equipment
128-
- `boolean isPoint(Item)` - checks if the given Item is is a Point
126+
- `boolean isLocation(Item)` - checks if the given Item is a Location
127+
- `boolean isEquipment(Item)` - checks if the given Item is an Equipment
128+
- `boolean isPoint(Item)` - checks if the given Item is a Point
129129
- `Item getLocation(Item)` - gets the Location Item of the Item, returns the related Location Item of the Item or `null`
130130
- `Class<? extends Location> getLocationType(Item)` - gets the Location type of the Item, returns the related Location type of the Item or `null`
131131
- `Item getEquipment(Item)` - gets the Equipment Item an Item belongs to, returns the related Equipment Item of the Item or `null`
@@ -176,9 +176,9 @@ end
176176
The Timer object supports the following methods:
177177

178178
- `cancel`: prevents the scheduled timer from executing. Most of the time `cancel` is used used in conjunction with setting the timer handler to `null` as a convenient indicator that some previously defined timer is now finished with. However setting the handler to `null` does not interact with the timer itself.
179-
- `isActive`: returns true if the timer will be executed as scheduled, i.e. it has not been cancelled or completed.
180-
- `isRunning`: returns true if the code is currently executing (i.e. the timer activated the code but it is not done running).
181-
- `hasTerminated`: returns true if the code has run and completed.
179+
- `isActive`: returns `true` if the timer will be executed as scheduled, i.e. it has not been cancelled or completed.
180+
- `isRunning`: returns `true` if the code is currently executing (i.e. the timer activated the code but it is not done running).
181+
- `hasTerminated`: returns `true` if the code has run and completed.
182182
- `reschedule(AbstractInstant instant)`: reschedules the timer to execute at the new time. If the Timer has terminated this method does nothing.
183183

184184
### Thing Status Action

0 commit comments

Comments
 (0)