huginn_myq_agent 0.2.3 → 0.2.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: 22ebb0df9739af60226e463ea6468fe1501513f243beca6ddde073d458495c22
4
- data.tar.gz: 8ea02626edc18e961e290559564d0a1a5608c6301594858a8932ca361971e6ad
3
+ metadata.gz: 44661a919fb795033e31e61b2dcb83f4d4ac0d9d1def390f13a21c9772cacedb
4
+ data.tar.gz: c9a7c998b1e184ee9b995a35d049fe732f2a2b34af84fb01a81be67fefb5791a
5
5
  SHA512:
6
- metadata.gz: bf2b063dede17692b573450be4ce66a33875c55bb7427bc5d4bc2d176bd1086ce262379f0dfb04a82781c0006ab442532f3ea410fd5e689c110dd547cb5eb0f8
7
- data.tar.gz: 3c1a325fd24fb0bbfd392c91560a835d99ec256641ef1f58a4e5d5b67302516ae207e2cc7602e7453c88b3ebae0a804becf7b581a2d6238115d4ab41b75a31cf
6
+ metadata.gz: a7b7243bbfa07a9cd9b308f970096db930ad4193f6cb9754ea6819ed4cbd4c903099dc8c455cb63d6ddde807fbcd475d0e843efbd396388646f9412d835f37b3
7
+ data.tar.gz: d88b15ef578028e55609a230622c7eb80992deeeeda26b2bb81e6efb78944c5983a0c11d763a72759d31f84f5c872837f905dea0251757a174eb63fd8fd15e99
@@ -54,7 +54,10 @@ module Agents
54
54
  open_door(door)
55
55
  create_event :payload => status(door.name)
56
56
  elsif interpolated['action'] == 'close'
57
- close(door)
57
+ close_door(door)
58
+ create_event :payload => status(door.name)
59
+ elsif interpolated['action'] == 'toggle'
60
+ toggle_door(door)
58
61
  create_event :payload => status(door.name)
59
62
  end
60
63
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huginn_myq_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Gillies