alexa_hue 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40a90ef5b2445e359556fa8742c82678c9e22e7f
4
- data.tar.gz: d6f773a6d0cf794281feb524b8c3dea86de639a3
3
+ metadata.gz: 0413d2357eb8add4c038aae1455feadb89ff617f
4
+ data.tar.gz: 15cf604386cb47fb72d44a6bb77e972cee2cafca
5
5
  SHA512:
6
- metadata.gz: 17e7d69e7cad79bc308d760a12dcb8b9f8e2ff0c4090299fb5df44440ce66d8a4665db64d9bc72f94650f9401bb824278faa90a13f6d8e6d77d0d6e8a637b272
7
- data.tar.gz: 7131a59f1d835c6d2fcb48afaea11e0243b1c047c8c0a834ead80693fe7d9fa2af7c2f9a0eac1fa4ac11e2a2dde9c4fa48d5e1a13f79c08fadc6e6ee2236c72b
6
+ metadata.gz: d72b6d68353aeb8693074278df7a6af9cbad9df3430c6b3270c5fd6375375f935ddc6ed708036c35b09550a888dbb3aebaa494b59fd7186e81a57b7290db0c39
7
+ data.tar.gz: d9554fe61e693b9f09f78053e2d5d52995bcc93629b887c9bed54196eec01a25484642fe1acc998049af606f687617d152f4c250b681be945529522d3abf1bb3
@@ -28,6 +28,7 @@ module Hue
28
28
 
29
29
  value = ((value.to_f/10.to_f)*255).to_i if (value.class == Fixnum) && (key.to_s != "fade")
30
30
  @client.send(key.to_sym, value)
31
+ puts "Calling: #{key}(#{value})"
31
32
  end
32
33
  end
33
34
 
@@ -1,4 +1,4 @@
1
1
  module Hue
2
- VERSION = "1.2.4"
2
+ VERSION = "1.2.5"
3
3
  end
4
4
 
data/lib/alexa_hue.rb CHANGED
@@ -22,7 +22,7 @@ module Hue
22
22
 
23
23
  def control_lights
24
24
  Thread.start do
25
- [:brightness, :saturation].each { |attribute| @echo_request.slots.send("#{attribute}=", @echo_request.slots.send(attribute)&.in_numbers) unless @echo_request.slots.schedule }
25
+ [:brightness, :saturation].each { |attribute| @echo_request.slots.send("#{attribute}=", @echo_request.slots.send(attribute)&.to_i) unless @echo_request.slots.schedule }
26
26
 
27
27
  voice_parser.run @echo_request
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alexa_hue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Lucas