openhab-scripting 5.19.0 → 5.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openhab/core/things/channel.rb +1 -1
- data/lib/openhab/dsl/sitemaps/builder.rb +6 -1
- data/lib/openhab/dsl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 509b0ee1752d832802d1193b4291ccf2d1a8f28d38452d900b7b8bf5862917d8
|
4
|
+
data.tar.gz: c26c325f46def04c214d611ac85977b065eb4fed3f326de075431d93ec9baca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 612d74470204eaef6f6e2f80c42220a3a111b3b2a65b86d727f4990627ea1f734605fd50f25640dda8dad11cc22771ba73ef299e419c7e7e3e10fdb53b760d2d
|
7
|
+
data.tar.gz: 82bbfccf67b8895b3781504cd217b84928bca4e675223885d861865b41addbfe7259f036748d764bfec78212e01339cac26d7eb9ea908765d51a5af28fab7972
|
@@ -123,7 +123,7 @@ module OpenHAB
|
|
123
123
|
#
|
124
124
|
# Links the channel to an item.
|
125
125
|
#
|
126
|
-
# @param [String, Items::Item]
|
126
|
+
# @param [String, Items::Item] item The item to link to.
|
127
127
|
# @param [Hash] config The configuration for the link.
|
128
128
|
#
|
129
129
|
# @return [Things::ItemChannelLink] The created link.
|
@@ -737,7 +737,12 @@ module OpenHAB
|
|
737
737
|
def build
|
738
738
|
widget = super
|
739
739
|
buttons.each do |button|
|
740
|
-
button_object = SitemapBuilder.factory.
|
740
|
+
button_object = if SitemapBuilder.factory.respond_to?(:create_button_definition)
|
741
|
+
SitemapBuilder.factory.create_button_definition
|
742
|
+
else
|
743
|
+
# @deprecated OH 4.1 in OH 4.2 this clause is not needed
|
744
|
+
SitemapBuilder.factory.create_button
|
745
|
+
end
|
741
746
|
button_object.row = button[0]
|
742
747
|
button_object.column = button[1]
|
743
748
|
button_object.cmd = button[2]
|
data/lib/openhab/dsl/version.rb
CHANGED
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: 5.19.
|
4
|
+
version: 5.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian O'Connell
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-05-
|
13
|
+
date: 2024-05-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|