lex-esphome 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +28 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +21 -0
- data/README.md +89 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lex-esphome.gemspec +34 -0
- data/lib/legion/extensions/esphome.rb +10 -0
- data/lib/legion/extensions/esphome/actors/logs.rb +21 -0
- data/lib/legion/extensions/esphome/actors/sensors.rb +23 -0
- data/lib/legion/extensions/esphome/runners/logs.rb +19 -0
- data/lib/legion/extensions/esphome/runners/sensors.rb +57 -0
- data/lib/legion/extensions/esphome/transport.rb +14 -0
- data/lib/legion/extensions/esphome/version.rb +9 -0
- metadata +191 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 148f84f9ca373f72b699972f52455d6daa583da5229e7223a14a8db3214a5c32
|
4
|
+
data.tar.gz: 73e621f2470dc178fd2cdf890372af7148d090538c6c6d5b55e0a5cbc6e1d8ec
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: edce3c1f083e18ffb72b911d2200bad900357191da6cb2b66065cc5d5647c555e628038998133a351ad200541079f927e8b58b395409f802c02c888ba7881e80
|
7
|
+
data.tar.gz: 6d4195bb0a038486df1d1b9b973026de887f6557e67dc37036399783b4cf59cebbdbf6991aa2558cff315353723517c1267c39ddfcef9d5af756b4dd9bab9157
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
Layout/LineLength:
|
2
|
+
Max: 120
|
3
|
+
Metrics/MethodLength:
|
4
|
+
Max: 50
|
5
|
+
Metrics/ClassLength:
|
6
|
+
Max: 1500
|
7
|
+
Metrics/BlockLength:
|
8
|
+
Max: 50
|
9
|
+
Metrics/AbcSize:
|
10
|
+
Max: 30
|
11
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
12
|
+
EnforcedStyle: space
|
13
|
+
Style/SymbolArray:
|
14
|
+
Enabled: true
|
15
|
+
Layout/HashAlignment:
|
16
|
+
EnforcedHashRocketStyle: table
|
17
|
+
EnforcedColonStyle: table
|
18
|
+
Style/Documentation:
|
19
|
+
Enabled: false
|
20
|
+
AllCops:
|
21
|
+
TargetRubyVersion: 2.5
|
22
|
+
NewCops: enable
|
23
|
+
Style/FrozenStringLiteralComment:
|
24
|
+
Enabled: false
|
25
|
+
Naming/FileName:
|
26
|
+
Enabled: false
|
27
|
+
Style/ClassAndModuleChildren:
|
28
|
+
Enabled: false
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at matt.iverson@optum.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [https://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: https://contributor-covenant.org
|
74
|
+
[version]: https://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 miverso2
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
# Legion::Extensions::Esphome
|
2
|
+
|
3
|
+
A Legion Extension to process messages coming from the [ESPHome](https://esphome.io/) Project
|
4
|
+
## Installation
|
5
|
+
|
6
|
+
Add this line to your application's Gemfile:
|
7
|
+
|
8
|
+
```ruby
|
9
|
+
gem 'lex-esphome'
|
10
|
+
```
|
11
|
+
|
12
|
+
And then execute:
|
13
|
+
|
14
|
+
$ bundle install
|
15
|
+
|
16
|
+
Or install it yourself as:
|
17
|
+
|
18
|
+
$ gem install lex-esphome
|
19
|
+
|
20
|
+
## Adding to Legion
|
21
|
+
You can manually install with a `gem install lex-esphome` command or by adding it into your settings with something like this
|
22
|
+
```json
|
23
|
+
{
|
24
|
+
"extensions": {
|
25
|
+
"esphome": {
|
26
|
+
"enabled": true, "workers": 1
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
```
|
31
|
+
|
32
|
+
Example [shoveler](https://www.rabbitmq.com/shovel.html) definition to get data over from `/` to `/legion` when using [RabbitMQ + MQTT](https://www.rabbitmq.com/mqtt.html)
|
33
|
+
```json
|
34
|
+
{
|
35
|
+
"permissions": [{
|
36
|
+
"user": "legion",
|
37
|
+
"vhost": "/",
|
38
|
+
"read": "to_legion"
|
39
|
+
}],
|
40
|
+
"parameters": [{
|
41
|
+
"value": {
|
42
|
+
"dest-exchange": "esphome",
|
43
|
+
"dest-protocol": "amqp091",
|
44
|
+
"dest-uri": "amqp://legion@/legion",
|
45
|
+
"src-delete-after": "never",
|
46
|
+
"src-protocol": "amqp091",
|
47
|
+
"src-queue": "to_legion",
|
48
|
+
"src-uri": "amqp://"
|
49
|
+
},
|
50
|
+
"vhost": "legion",
|
51
|
+
"component": "shovel",
|
52
|
+
"name": "ESPHome -> Legion"
|
53
|
+
}],
|
54
|
+
"queues": [{
|
55
|
+
"name": "to_legion",
|
56
|
+
"vhost": "/",
|
57
|
+
"durable": true,
|
58
|
+
}],
|
59
|
+
"bindings": [{
|
60
|
+
"source": "amq.topic",
|
61
|
+
"vhost": "/",
|
62
|
+
"destination": "to_legion",
|
63
|
+
"destination_type": "queue",
|
64
|
+
"routing_key": "#.sensor.#.state",
|
65
|
+
"arguments": {}
|
66
|
+
}, {
|
67
|
+
"source": "amq.topic",
|
68
|
+
"vhost": "/",
|
69
|
+
"destination": "to_legion",
|
70
|
+
"destination_type": "queue",
|
71
|
+
"routing_key": "esphome.logs.#",
|
72
|
+
"arguments": {}
|
73
|
+
}]
|
74
|
+
}
|
75
|
+
```
|
76
|
+
|
77
|
+
## Usage
|
78
|
+
There are two passive runners within this Lex. One to process log entries, the other to process sensor data
|
79
|
+
|
80
|
+
|runner|function|value|routing key|timestamp_in_ms|
|
81
|
+
|---|---|---|---|---|
|
82
|
+
|Logs|process|required|required|X|
|
83
|
+
|Sensors|process|required|required|optional|
|
84
|
+
|
85
|
+
|
86
|
+
## Development
|
87
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
88
|
+
|
89
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'legion/extensions/esphome'
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require 'irb'
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lex-esphome.gemspec
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
require_relative 'lib/legion/extensions/esphome/version'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = 'lex-esphome'
|
5
|
+
spec.version = Legion::Extensions::Esphome::VERSION
|
6
|
+
spec.authors = ['Esity']
|
7
|
+
spec.email = ['matthewdiverson@gmail.com']
|
8
|
+
|
9
|
+
spec.summary = 'LEX::Esphome'
|
10
|
+
spec.description = 'Used to connect Legion to Esphome'
|
11
|
+
spec.homepage = 'https://bitbucket.org/legion-io/lex-esphome'
|
12
|
+
spec.license = 'MIT'
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
|
14
|
+
|
15
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
16
|
+
spec.metadata['source_code_uri'] = 'https://bitbucket.org/legion-io/lex-esphome'
|
17
|
+
spec.metadata['changelog_uri'] = 'https://bitbucket.org/legion-io/lex-esphome/src/master/CHANGELOG.md'
|
18
|
+
|
19
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
21
|
+
end
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ['lib']
|
24
|
+
|
25
|
+
spec.add_development_dependency 'bundler'
|
26
|
+
spec.add_development_dependency 'codecov'
|
27
|
+
spec.add_development_dependency 'rake'
|
28
|
+
spec.add_development_dependency 'rspec'
|
29
|
+
spec.add_development_dependency 'rspec_junit_formatter'
|
30
|
+
spec.add_development_dependency 'rubocop'
|
31
|
+
spec.add_development_dependency 'rubocop-md'
|
32
|
+
spec.add_development_dependency 'rubocop-performance'
|
33
|
+
spec.add_development_dependency 'rubocop-rspec'
|
34
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Legion
|
2
|
+
module Extensions
|
3
|
+
module Esphome
|
4
|
+
module Actor
|
5
|
+
class Logs < Legion::Extensions::Actors::Subscription
|
6
|
+
def runner_function
|
7
|
+
'process'
|
8
|
+
end
|
9
|
+
|
10
|
+
def include_metadata_in_message?
|
11
|
+
true
|
12
|
+
end
|
13
|
+
|
14
|
+
def generate_task?
|
15
|
+
false
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Legion
|
4
|
+
module Extensions
|
5
|
+
module Esphome
|
6
|
+
module Actor
|
7
|
+
class Sensors < Legion::Extensions::Actors::Subscription
|
8
|
+
def runner_function
|
9
|
+
'process'
|
10
|
+
end
|
11
|
+
|
12
|
+
def include_metadata_in_message?
|
13
|
+
true
|
14
|
+
end
|
15
|
+
|
16
|
+
def generate_task?
|
17
|
+
false
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Legion
|
2
|
+
module Extensions
|
3
|
+
module Esphome
|
4
|
+
module Runners
|
5
|
+
module Logs
|
6
|
+
def self.process(value:, **payload)
|
7
|
+
{
|
8
|
+
log: value.gsub(/\e\[([;\d]+)?m/, ''),
|
9
|
+
location: payload[:routing_key].split('.').last,
|
10
|
+
timestamp_in_ms: payload[:timestamp_in_ms]
|
11
|
+
}
|
12
|
+
end
|
13
|
+
|
14
|
+
include Legion::Extensions::Helpers::Lex
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
module Legion
|
2
|
+
module Extensions
|
3
|
+
module Esphome
|
4
|
+
module Runners
|
5
|
+
module Sensors
|
6
|
+
def self.process(value:, **payload) # rubocop:disable Metrics/CyclomaticComplexity,Metrics/AbcSize,Metrics/PerceivedComplexity
|
7
|
+
items = payload[:routing_key].split('.')
|
8
|
+
|
9
|
+
subtype = if items[2].include?('fan')
|
10
|
+
'fan'
|
11
|
+
elsif items[2].include?('voltage')
|
12
|
+
'voltage'
|
13
|
+
elsif items[2].include?('temp')
|
14
|
+
'temperature'
|
15
|
+
elsif items[2].include?('humidity')
|
16
|
+
'humidity'
|
17
|
+
elsif items[2].include?('wifi_signal')
|
18
|
+
'wifi_signal'
|
19
|
+
elsif items[2].include?('uptime')
|
20
|
+
'uptime'
|
21
|
+
elsif items[2].include?('pressure')
|
22
|
+
'pressure'
|
23
|
+
elsif items[2].include?('pulse')
|
24
|
+
'pulse'
|
25
|
+
elsif items[2].include?('meter')
|
26
|
+
'meter'
|
27
|
+
elsif items[2].include?('brightness')
|
28
|
+
'brightness'
|
29
|
+
elsif items[2].include?('illuminance') || items[2].include?('lx') || items[2].include?('bright')
|
30
|
+
'illuminance'
|
31
|
+
elsif items[2].include?('current')
|
32
|
+
'current'
|
33
|
+
end
|
34
|
+
|
35
|
+
if subtype.nil?
|
36
|
+
log.warn("Subtype was not found for esphome item subtype: #{items[2]}")
|
37
|
+
subtype = items[2]
|
38
|
+
elsif subtype == 'temperature'
|
39
|
+
value = ((value.to_i * 9 / 5) + 32).round(3) if settings[:convert_c_to_f]
|
40
|
+
end
|
41
|
+
|
42
|
+
{
|
43
|
+
value: value,
|
44
|
+
name: items[0],
|
45
|
+
type: items[2],
|
46
|
+
sub_type: subtype,
|
47
|
+
item: items[3],
|
48
|
+
timestamp_in_ms: payload[:timestamp_in_ms]
|
49
|
+
}
|
50
|
+
end
|
51
|
+
|
52
|
+
include Legion::Extensions::Helpers::Lex
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'legion/extensions/transport'
|
2
|
+
require 'legion/extensions/esphome'
|
3
|
+
|
4
|
+
module Legion::Extensions::Esphome
|
5
|
+
module Transport
|
6
|
+
extend Legion::Extensions::Transport
|
7
|
+
def self.additional_e_to_q
|
8
|
+
[
|
9
|
+
{ from: 'esphome', to: 'sensors', routing_key: '#.sensor.#.state' },
|
10
|
+
{ from: 'esphome', to: 'logs', routing_key: 'esphome.logs.#' }
|
11
|
+
]
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
metadata
ADDED
@@ -0,0 +1,191 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lex-esphome
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Esity
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-08-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: codecov
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec_junit_formatter
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-md
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-performance
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop-rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: Used to connect Legion to Esphome
|
140
|
+
email:
|
141
|
+
- matthewdiverson@gmail.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".gitignore"
|
147
|
+
- ".rspec"
|
148
|
+
- ".rubocop.yml"
|
149
|
+
- ".travis.yml"
|
150
|
+
- CODE_OF_CONDUCT.md
|
151
|
+
- Gemfile
|
152
|
+
- LICENSE.txt
|
153
|
+
- README.md
|
154
|
+
- Rakefile
|
155
|
+
- bin/console
|
156
|
+
- bin/setup
|
157
|
+
- lex-esphome.gemspec
|
158
|
+
- lib/legion/extensions/esphome.rb
|
159
|
+
- lib/legion/extensions/esphome/actors/logs.rb
|
160
|
+
- lib/legion/extensions/esphome/actors/sensors.rb
|
161
|
+
- lib/legion/extensions/esphome/runners/logs.rb
|
162
|
+
- lib/legion/extensions/esphome/runners/sensors.rb
|
163
|
+
- lib/legion/extensions/esphome/transport.rb
|
164
|
+
- lib/legion/extensions/esphome/version.rb
|
165
|
+
homepage: https://bitbucket.org/legion-io/lex-esphome
|
166
|
+
licenses:
|
167
|
+
- MIT
|
168
|
+
metadata:
|
169
|
+
homepage_uri: https://bitbucket.org/legion-io/lex-esphome
|
170
|
+
source_code_uri: https://bitbucket.org/legion-io/lex-esphome
|
171
|
+
changelog_uri: https://bitbucket.org/legion-io/lex-esphome/src/master/CHANGELOG.md
|
172
|
+
post_install_message:
|
173
|
+
rdoc_options: []
|
174
|
+
require_paths:
|
175
|
+
- lib
|
176
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 2.5.0
|
181
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
186
|
+
requirements: []
|
187
|
+
rubygems_version: 3.1.2
|
188
|
+
signing_key:
|
189
|
+
specification_version: 4
|
190
|
+
summary: LEX::Esphome
|
191
|
+
test_files: []
|