core/homeassistant
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
..
components Adding a discoverable Samsung Syncthru Printer sensor platform (#13134) 2018-03-18 09:26:33 -07:00
helpers Fix WUnderground duplicate entity ids (#13285) 2018-03-17 13:14:53 +01:00
scripts Python 3.5 adjustments (#13173) 2018-03-15 13:10:54 +02:00
util Fix WUnderground duplicate entity ids (#13285) 2018-03-17 13:14:53 +01:00
__init__.py
__main__.py Disable Monkey Patch for 3.6.3+ (#13150) 2018-03-12 16:12:21 -07:00
bootstrap.py Python 3.5 adjustments (#13173) 2018-03-15 13:10:54 +02:00
config.py Ensure we have valid config AFTER merging packages #13015 (#13038) 2018-03-10 10:41:39 -08:00
config_entries.py Config flow translations (#13066) 2018-03-11 12:04:34 -07:00
const.py fix: Support different JointSpace API versions (#13084) 2018-03-12 12:33:04 -07:00
core.py Refactor Hue: phue -> aiohue (#13043) 2018-03-16 20:27:05 -07:00
exceptions.py Fix recorder crash for long state string - enforce at core level (#9696) 2017-10-25 09:05:30 -07:00
loader.py Typing fixes (#12015) 2018-01-29 00:24:08 -08:00
monkey_patch.py Python 3.5 adjustments (#13173) 2018-03-15 13:10:54 +02:00
package_constraints.txt Upgrade async_timeout to 2.0.1 (#13290) 2018-03-17 17:37:31 -07:00
remote.py Remove crazy JSON encoding things that are no longer used (#13029) 2018-03-12 23:22:08 +01:00
requirements.py Reinstate our old virtual env check in favor of pip (#12932) 2018-03-05 15:51:37 -08:00
setup.py Rename homeassistant.util.async to .async_ (#13088) 2018-03-11 10:01:12 -07:00