Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
Fabian Affolter
555184a4b7
Update Glances sensor ( #15981 )
...
* Refactor Glances sensor
* Add glances_api to requirements_all.txt
* Add support for version as configuration option
2018-08-15 07:49:34 +02:00
Ville Skyttä
2f7b79764a
More pylint 2 fixes ( #15565 )
...
## Description:
More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).
## Checklist:
- [ ] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
2018-07-20 11:45:20 +03:00
Ville Skyttä
b92350fb55
Lint cleanup ( #15103 )
...
* Remove unneeded inline pylint disables
* Remove unneeded noqa's
* Use symbol names instead of message ids in inline pylint disables
2018-06-25 13:05:07 -04:00
Fabian Affolter
f3e55ce330
Allow different identifiers for the CPU temperature ( fixes #10104 ) ( #14898 )
2018-06-10 08:39:48 +02:00
bastshoes
6e5c541a00
Add support container status for Glances on RPi3 ( #14529 )
...
* Add support container status for Glances on RPi3
Glances on RPi3 return different container status.
```
"containers": [
{
"Status": "Up 2 hours",
"name": "HASS",
"io": {
"iow": 0,
"time_since_update": 5.1789350509643555,
"cumulative_ior": 94208,
"ior": 0,
"cumulative_iow": 4096
},
```
This small PR adds support dealing with this differences.
* Making line shorter
* Fixing indentation
* Fix lint error
* Fix ident
* Fix intend
2018-05-25 09:58:53 +02:00
Timmo
86baed4e52
Glances Docker Sensors ( #13026 )
...
* Added container count
* Added container count
* Change Name
* Fix if
* Added Docker cpu use and memory use
2018-03-10 18:11:53 +01:00
Fabian Affolter
76a0763cbc
Remove STATE_UNKNOWN ( #10064 )
2017-10-23 13:12:14 +02:00
Tobias Sauerwein
fdc769abf7
Add icons according to sensor types.
2017-10-23 07:54:57 +00:00
cgtobi
f5b305c980
Fix the resource naming in the UI ( #9927 )
...
Use proper English for the UI representation without breaking the component.
2017-10-17 21:32:01 +02:00
Paulus Schoutsen
46e030662d
Fix pylint 1.7.2 no-else-return issues ( #8361 )
...
* Fix pylint 1.7.2 no-else-return issues
* Update tomato.py
2017-07-05 23:30:01 -07:00
Fabian Affolter
fa6e93f0c7
Do not call update() in constructor ( #8148 )
...
* Do not call update() in constructor
* Move handling to update and re-add throttle
* Fix indent
* Fix interval
2017-06-27 10:56:25 +02:00
Jose Juan Montes
8d0553d9e6
Adds CPU temp monitoring, and allow startup when endpoint is not yet available. ( #8093 )
...
* Adds CPU temp monitoring, and allow startup when endpoint is not yet available.
* Added support for available() to glances sensor.
2017-06-21 22:45:15 +02:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Fabian Affolter
d027df5a89
Allow to monitor Windows hosts ( #6803 )
2017-03-27 22:11:15 +02:00
Fabian Affolter
84040892df
Remove globally disable pylint issue ( #4565 )
2016-11-24 12:25:01 +01:00
Fabian Affolter
c128919b5f
Remove globally disabled pylint warnings ( #4204 )
2016-11-03 18:40:43 -07:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Fabian Affolter
15ed8c6332
Add units ( fixes #3619 ) ( #3633 )
2016-10-01 17:35:32 +02:00
Fabian Affolter
e8c6e4d561
Clean-up, ordering, constants, and extend of schema ( #2903 )
...
* Clean-up, ordering, constants, and extend of schema
* Put REQUIREMENTS back and re-add line breaks
* Clean-up, ordering, constants, and extend of schema
* Extend platform
2016-08-20 15:40:16 -07:00
Fabian Affolter
4f1712c933
Use voluptuous for system monitoring sensors ( #2813 )
...
* Use voluptuous for system monitoring sensors
* Extent platform, ordering, and consts
* Add resource/resources
2016-08-19 14:57:14 +02:00
Fabian Affolter
b29eff5ef1
UPdate log messages
2016-03-15 23:52:55 +01:00
Fabian Affolter
8bff97083c
Fix PEPE257 issues
2016-03-08 16:46:34 +01:00
Fabian Affolter
60d579af84
Update/add docstrings (PEP257)
2016-02-23 06:23:04 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
a9c6f8c1d9
Enforce entity attribute types
2016-01-17 17:50:20 -08:00
Fabian Affolter
85873390ee
Include name ( #654 )
2015-12-15 23:12:43 +01:00
Paulus Schoutsen
a301d869d7
PyLint 1.5 fixes
2015-11-29 13:49:05 -08:00
Fabian Affolter
4eacea32da
Fix pylint issue
2015-11-19 18:07:54 +01:00
Fabian Affolter
f1fed78992
Fix issue with older glances releases #637 (thanks @jdotbdot)
2015-11-18 19:19:27 +01:00
Fabian Affolter
5275ca9ce7
Fix typo
2015-11-14 15:25:52 +01:00
Fabian Affolter
646618a25e
Improve error messages, use constants, and fix docstrings
2015-11-14 15:23:20 +01:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Fabian Affolter
0e8e4a73fe
Remove configuration details
2015-10-20 22:20:58 +02:00
Fabian Affolter
ccecc0181d
Remove blank line
2015-09-17 08:34:26 +02:00
Fabian Affolter
56a151b196
Add return value
2015-09-15 08:21:58 +02:00
Fabian Affolter
984f01359c
Fix docstring
2015-09-14 21:48:29 +02:00
Fabian Affolter
fe7134b897
Add glances sensor
2015-09-14 14:08:30 +02:00