Fabien Piuzzi
9fa7906aef
Made it possible to define multiple Octoprint printers ( #16519 )
...
* Made it possible to define multiple octoprint printers
* style fix
* Added configuration option for octoprint port
* SSL support in octoprint platform configuration
* Octoprint component now auto loads sensor and binary_sensor platforms
* preliminary support for auto discovery of octoprint servers
* Moved sensors and binary sensors configuration into main octoprint configuration
* Using base_url as the key for storing api in the octoprint component
* made sure to not supersede the platforms' domains
* bugfix: continue setting up other printers if one fails
* flake8 style correction
* Added icons to sensors
* Fail platform setup if no printers were successfully added
* Simplified custom validator
2018-10-11 09:52:13 +02:00
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
Ville Skyttä
4bd7a7eee3
Remove inline pylint disables for messages disabled in pylintrc ( #14978 )
2018-06-16 00:15:46 +02:00
Paulus Schoutsen
3fd61d8f45
Update voluputous ( #12463 )
...
* Update voluputous
* Fix http config
* Fix optional with default=None
* Optional, default=none
* Fix defaults in voluptuous schemas
* Fix tests
* Fix update error
* Lint
2018-02-17 10:29:14 +01:00
Fabian Affolter
f513f6271e
Do not call update() in constructor ( #8878 )
...
* Do not call update() in constructor
* Fix lint issues
2017-08-08 20:21:33 +02:00
William Scanlon
652c006cbc
Prevent errors on Octoprint sensors and binary_sensors when Octoprint and/or Printer are off ( #8343 )
...
* Added platformnotready
* Only log the first failure if octoprint/printer isn't up
Remove blank line
2017-07-06 22:39:11 -07:00
Fabian Affolter
3ee4d1060f
Update docstrings ( #7361 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update tomato.py
* Update isy994.py
* Lint + fix tests
* Lint
2017-04-29 22:04:49 -07:00
Paulus Schoutsen
ce3d8be72b
Remove binary sensor platforms implementing state property ( #7371 )
...
* Remove binary sensor platforms implementing state property
* Fix workday inheritance
2017-04-29 20:36:50 -07:00
Adam Mills
e877d572f5
binary_sensor sensor_class to entity device_class ( #5860 )
...
* binary_sensor sensor_class to entity device_class
* Linter fixes
* Should be it
2017-02-10 20:46:15 -08: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
6a84b82663
Use voluptuous for Octoprint ( #3111 )
...
* Migrate to voluptuous
* Fix pylint issues
2016-09-02 12:26:23 +02:00
Fabian Affolter
98bedf1bd6
Update links to docs and doc strings ( #1994 )
2016-05-06 18:03:18 -07:00
William Scanlon
6d9254ce25
Support for OctoPrint sensors ( #1924 )
2016-05-03 18:35:11 -07:00