senec 0.16.0 → 0.17.1

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: b3e63fe0591b80a7672ba4a6b0374ec573f764040bfbf487b941afea116291b0
4
- data.tar.gz: 8251e37f00a8239bb366c6ac09dbedc53ec6353d702dc473c87bf6fbcf6e9d68
3
+ metadata.gz: 912fa4987e3d502ec083e78427daed9085e966ac90ff29f71521018d51a47ff9
4
+ data.tar.gz: 8fe8a18f5ed60ef4fcb5996310acb040f6f33eb6792f77af0d2c93d20a5abcbb
5
5
  SHA512:
6
- metadata.gz: 59e850b996a75f2c3046c8ee3bca754d2aca77946c22e8e6c405dbe6b11034099f16c270e7522a092247d1530c124a87fed1d1387447f2c91e93097b06bf3b34
7
- data.tar.gz: 7c81e4ffc43770c93f494a82bb5edc485327df7e357f592c8ce90bc9336ed37ad996303fbca98f6066e8cce2644083e2977fe1d248bf193166b1098e0d225aea
6
+ metadata.gz: b79e1a378202d84c1d1fd669ed983e9b2b6e4ccd6b59dcf8d8049b58a1d447ef79224c24808e377ecc2ceff4fedb9e9279ca63ed2b03b7af41176a9120f3d085
7
+ data.tar.gz: a85d71e28674fca3118465a92d847cfd012fedb4835a73b35f313c15709906d8cc473c2c6875b4433f62186c11aac01d645689a3c16669450943a18b08dc2eda
@@ -29,7 +29,8 @@ module Senec
29
29
  CASE_TEMP: ''
30
30
  },
31
31
  WALLBOX: {
32
- APPARENT_CHARGING_POWER: ''
32
+ APPARENT_CHARGING_POWER: '',
33
+ EV_CONNECTED: ''
33
34
  }
34
35
  }.freeze
35
36
 
@@ -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.16.0'.freeze
2
+ VERSION = '0.17.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: senec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Ledermann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-30 00:00:00.000000000 Z
11
+ date: 2024-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.5.16
111
+ rubygems_version: 3.5.17
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Unofficial Ruby Client for SENEC Home