openhab-scripting 2.16.3 → 2.16.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70bdb050049010368d9987f87bcd119f1886c6cc27f1721eb88935e67c4c37b1
4
- data.tar.gz: 38f66b267318de4710face86e9f4d188120110df670bb22ca610885c2288e4ae
3
+ metadata.gz: 1cf495280ef0c286169b0d453f3b03688563ab017b0fc5707d0243bfd24d43b1
4
+ data.tar.gz: 7e1e590a1c0f25598d0e95841068faca6e9c98261764c0a53dd74b3ac36b82d6
5
5
  SHA512:
6
- metadata.gz: 9a7c9d8fa0966c4456c378fa86d824fc43a57f75da6ef7289b8c29b6768858fa3677a37d054983d53b4efa8d40ea47cf2b2e8931256ea259eebbb01b753088fa
7
- data.tar.gz: 753742cfd66167c2a47f76830f344b96f0654f4976ee558a0a3b73bd4f25d842c2ed465a68d2b08b6d1a2ab46e5b74f6822e201ec8cad736c8df4ca410e76c9c
6
+ metadata.gz: 27acec53581abe0cc1df086e92b14591840c437e5cdb189fec7d69f8f72e62c442d10d6781d03c8a5b91e40fbb8d39ac7986d3a82f5c77bb3e84501dc3c314fe
7
+ data.tar.gz: 58e558b957c89ea67bf405cb8530e0436d532179b07b9e34b1e79087a639796f4aac25c4a18eebe076ae869116f93fd679a51eb576ca29006a7c54222ef271ad
@@ -190,7 +190,7 @@ module OpenHAB
190
190
  state = inputs['newState']
191
191
  if state == trigger_delay.tracking_to
192
192
  logger.trace("Item changed to #{state} for #{trigger_delay}, rescheduling timer.")
193
- trigger_delay.timer.reschedule(ZonedDateTime.now.plus(duration))
193
+ trigger_delay.timer.reschedule(ZonedDateTime.now.plus(trigger_delay.duration))
194
194
  else
195
195
  logger.trace("Item changed to #{state} for #{trigger_delay}, cancelling timer.")
196
196
  trigger_delay.timer.cancel
@@ -5,5 +5,5 @@
5
5
  #
6
6
  module OpenHAB
7
7
  # @return [String] Version of OpenHAB helper libraries
8
- VERSION = '2.16.3'
8
+ VERSION = '2.16.4'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openhab-scripting
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.3
4
+ version: 2.16.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian O'Connell