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 +4 -4
- data/lib/huginn_myq_agent/myq_agent.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44661a919fb795033e31e61b2dcb83f4d4ac0d9d1def390f13a21c9772cacedb
|
4
|
+
data.tar.gz: c9a7c998b1e184ee9b995a35d049fe732f2a2b34af84fb01a81be67fefb5791a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|