nielstron 6b059489a6 Adding a discoverable Samsung Syncthru Printer sensor platform (#13134)
* Added a simple component to support the BLNET

Adds a component based on pyblnet, that hooks up the blnet to home assistant

* Adds support for custimzation of blnet sensor devices

* Setting up blnet as a platfrom

* Updated use of state_attributes

Now the friendly_name (and for digital values the mode) is set in the state_attributes whereas the name is defined as "blnet_(analog|digital)_{sensornumber}" so you can reliably add them to groups.

* Added support for the SyncThru printer web service

* Added pysyncthru to the requirements

* Changed to Dependencis, import inside setup_platform

* Switch back to REQUIREMENTS

Looks like DEPENDENCIES is not meant for python packages but for other HA components

* Fixed access to _attributes

* Final fix

* Several Bugfixes

When the printer goes offline, the last state will be kept.
Also now checks if the printer is reachable upon setup

* Register syncthru as discoverable

* Included possible conditions to monitor

* Split the printer sensor in several seperate sensor entities

* Fixed bug at sensor creation, pep8 conform

* Bugfix

* Bugfix

* Removed Blnet components

* Fixed unused import

* Renamed discoverable to samsung_printer

* Removed unused Attribute _friendly_name

* Inserted missing space

* Pinned requirements and added to coveragerc

* Reduced redundancy by condensing into multiple sub-classes

* Fixed indentation

* Fixed super constructor calls

* Fixed super constructor calls

* Fixed format

* Resolving style issues and using name instead of friendly_name

* Pinned pysyncthru in requirements_all, having trouble with friendly_name

* Iterating over dictionary instead of dict.keys()

* ran gen_reqirements_all.py

* Fixed flake 8 issues

* Added a simple component to support the BLNET

Adds a component based on pyblnet, that hooks up the blnet to home assistant

* Implemented requested changes

* raised dependecies to pysyncthru version that has timeouts

* Raised required version for full timeout support

* Adds support for custimzation of blnet sensor devices

* Setting up blnet as a platfrom

* Updated use of state_attributes

Now the friendly_name (and for digital values the mode) is set in the state_attributes whereas the name is defined as "blnet_(analog|digital)_{sensornumber}" so you can reliably add them to groups.

* Added support for the SyncThru printer web service

* Added pysyncthru to the requirements

* Removed Blnet components

* Pinned requirements and added to coveragerc

* Fixed indentation

* Fixed format

* Pinned pysyncthru in requirements_all, having trouble with friendly_name

* ran gen_reqirements_all.py

* Updated requirements_all

* Renamed sensor objects, removed passing of hass entity

* Removed merge artifacts

* Reset syncthru to newest state

* Updated requirements_all

* switched to using the newest version of pysyncthru

* Sorted coveragerc
2018-03-18 09:26:33 -07:00
..
2018-03-14 19:47:31 -07:00
2018-01-20 22:35:38 -08:00
2018-01-20 22:35:38 -08:00
2018-02-26 22:39:26 -08:00
2018-01-30 10:39:39 +01:00
2018-02-11 20:33:08 -08:00
2018-02-11 09:20:28 -08:00
2018-02-17 10:29:14 +01:00
2018-01-30 10:39:39 +01:00
2018-02-27 14:22:52 +01:00
2018-01-28 18:04:40 +01:00
2018-01-29 00:24:08 -08:00
2018-03-15 11:45:54 +01:00
2018-02-11 09:20:28 -08:00
2018-02-17 10:29:14 +01:00
2017-10-25 15:13:11 +02:00
2018-02-11 09:20:28 -08:00
2018-02-17 10:29:14 +01:00
2018-01-20 22:35:38 -08:00
2018-01-29 23:37:19 +01:00
2018-01-30 10:39:39 +01:00
2017-12-13 20:03:41 -08:00
2018-01-27 11:58:27 -08:00
2017-12-03 16:48:07 +01:00
2018-01-29 23:37:19 +01:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-02-27 18:04:30 -08:00
2018-03-09 19:38:51 -08:00
2018-02-19 23:55:54 -08:00
2018-01-18 21:48:21 +01:00
2018-03-15 19:50:58 -07:00
2018-01-29 00:23:53 -08:00
2018-01-27 11:58:27 -08:00
2018-03-10 18:11:53 +01:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-01-27 11:58:27 -08:00
2018-02-17 10:29:14 +01:00
2018-02-11 09:20:28 -08:00
2018-02-04 18:23:26 +01:00
2018-01-30 10:39:39 +01:00
2018-01-25 19:46:48 +01:00
2018-02-11 09:20:28 -08:00
2018-01-20 22:35:38 -08:00
2018-01-15 14:25:00 -08:00
2018-01-20 22:35:38 -08:00
2018-02-17 10:29:14 +01:00
2018-01-29 23:37:19 +01:00
2018-02-17 10:29:14 +01:00
2017-11-15 18:17:17 -05:00
2018-01-29 23:37:19 +01:00
2018-01-20 22:35:38 -08:00
2018-01-08 17:07:39 +01:00
2017-10-07 00:22:40 +02:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-01-29 23:37:19 +01:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-03-18 09:25:25 -07:00
2018-01-29 23:37:19 +01:00
2017-09-29 12:05:02 +02:00
2018-02-17 10:29:14 +01:00
2017-12-25 10:07:17 +01:00
2018-01-27 11:58:27 -08:00
2018-01-16 12:32:08 +01:00
2018-02-17 10:29:14 +01:00
2017-12-13 21:21:14 +01:00
2018-03-10 09:27:13 +01:00
2018-02-17 10:29:14 +01:00
2018-03-04 18:37:54 -08:00
2017-11-27 21:25:00 +01:00
2017-12-11 16:44:14 +01:00
2018-02-11 09:20:28 -08:00
2017-10-08 20:14:39 +02:00
2018-01-06 19:54:15 +01:00
2018-03-17 17:39:24 +01:00
2018-03-09 19:38:51 -08:00
2018-02-11 09:20:28 -08:00
2018-02-17 10:29:14 +01:00
2018-03-14 08:47:45 +01:00
2018-01-27 11:58:27 -08:00
2018-01-31 10:10:35 -08:00
2018-01-29 23:37:19 +01:00
2018-03-09 19:38:51 -08:00
2017-11-19 19:41:30 -08:00
2017-10-24 18:36:08 +02:00
2017-11-22 09:37:20 +00:00
2017-12-25 17:46:42 +01:00
2018-01-29 23:37:19 +01:00
2017-09-17 13:40:58 +02:00
2018-01-29 23:37:19 +01:00
2017-09-27 10:44:32 -07:00
2017-10-23 14:38:16 -04:00
2018-01-20 22:35:38 -08:00
2017-12-07 07:47:19 +01:00
2018-02-17 10:29:14 +01:00
2018-01-29 23:37:19 +01:00
2018-01-27 11:58:27 -08:00
2018-01-20 22:35:38 -08:00
2018-01-20 22:35:38 -08:00
2018-02-17 10:29:14 +01:00
2018-02-17 10:29:14 +01:00
2018-01-29 23:37:19 +01:00
2018-02-11 09:20:28 -08:00