senec 0.17.0 → 0.17.2

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: c346c95eeb0e8ad33546fed3c8bbf66ea31910f9fcc1f20a16678b901b720c7f
4
- data.tar.gz: 948a6b2aa16c66366a46727f57e1b172e78b4976f2009ebb7ab50c569f81fe32
3
+ metadata.gz: eaa5f023a77fd7232adff21888f19a4f8e5869e9100142ebadd7eebd49b90e7c
4
+ data.tar.gz: 8b12f81e7aee5193c66b866eb313e451d199a2e1aff4d5ed135d0e0c435f88f1
5
5
  SHA512:
6
- metadata.gz: 21e66df0b03e26ed5f709ef170020876461b0164bd970202ed2b4a9d48eb1181609705764e20c48744f69a6c86aa1265e3140f86fe616c1b757b2fc5b08caf58
7
- data.tar.gz: 5337388e3ad9a93e1bbf8737c302ff85c1eb050530ef441b3730f7efc67db7affb05de5af4fbfbb8976a1723335b081f69c19ce969979ec4a48e77789a900381
6
+ metadata.gz: 177e65e03d19d3fd4282903155eccd176e8eb3e2224d9fcb89302466f80e55db09a886b12d4086aba11edf9d9d5b07a4d5ba4c379e8813760765e619c8f90d20
7
+ data.tar.gz: ada3a35782b06a65bf75ecba3990729348c81fd2ad8ed6957e024b39f67cad735e0ff7113279886495366ec06e30c28e0f58346fa9ff02e20e5debec7a5456a1
data/.rubocop.yml CHANGED
@@ -20,14 +20,17 @@ Style/TrailingCommaInArguments:
20
20
  Style/IfUnlessModifier:
21
21
  Enabled: false
22
22
 
23
+ Metrics/ClassLength:
24
+ Enabled: false
25
+
23
26
  Metrics/MethodLength:
24
- Max: 15
27
+ Enabled: false
25
28
 
26
29
  Layout/LineLength:
27
30
  AllowedPatterns: ['\A#'] # Allow long comments
28
31
 
29
32
  RSpec/ExampleLength:
30
- Max: 15
33
+ Enabled: false
31
34
 
32
35
  RSpec/NestedGroups:
33
- Max: 4
36
+ Enabled: false
@@ -53,6 +53,10 @@ module Senec
53
53
  get('ENERGY', 'GUI_GRID_POW')
54
54
  end
55
55
 
56
+ def ev_connected
57
+ get('WALLBOX', 'EV_CONNECTED')
58
+ end
59
+
56
60
  def wallbox_charge_power
57
61
  get('WALLBOX', 'APPARENT_CHARGING_POWER')
58
62
  end
data/lib/senec/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Senec
2
- VERSION = '0.17.0'.freeze
2
+ VERSION = '0.17.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: senec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Ledermann