alexa_hue 1.1.6 → 1.1.7

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
  SHA1:
3
- metadata.gz: 6c1f387288b46ef7cba0558ce83099a6bd566837
4
- data.tar.gz: 5bb84e547158830f9f4735d06c89c450812ae3cd
3
+ metadata.gz: 784df0bfbebcdb1ff90254c9ba4fce65c24e5624
4
+ data.tar.gz: 18a51c50963f3ad3d33ed9c06d03a6f2aa54e88f
5
5
  SHA512:
6
- metadata.gz: 8d65bd8507f8ee0037ea48e888de2b2a6bfc76316c7661b0e15c4b9391f4d0941fbf0f3f6a87d84141b4066199e73b5726146e3aa7aaec9252ee4b8909fb000c
7
- data.tar.gz: 016a1a88aa3fd3fe0d52563f4ebee4ddb1c51a193a37690821d0475c45d6f7f53c1434586c3faf2b3f14cb485e1cb1281336c794d8a7a9b69d615eb3996bdf87
6
+ metadata.gz: 14114cedbb0a0a6cce732eba94c6d763ce04501b18246e0e9f85995c6cdaf201d2de072f371a0e67f3a728ba57cb5eb74926488d0344bfb4fe628b244941b1a2
7
+ data.tar.gz: c802175dbac938054a3f802384fd38535c0e9ffee9163617aeeb3d6b0db188cffa403dbae22c4dc63e53b109b100b8bef544209157c0c19fe2736c23d482320f
@@ -130,7 +130,7 @@ module Hue
130
130
  end
131
131
 
132
132
  def toggle_system
133
- toggle_lights if @lights_array.any?
133
+ toggle_lights if @lights_array.any? && @body.scene.nil?
134
134
  toggle_group if (!@_group.empty? && @body.scene.nil?)
135
135
  toggle_scene if @body.scene
136
136
  end
@@ -1,4 +1,4 @@
1
1
  module Hue
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
4
4
 
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.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Lucas