core/homeassistant
joyrider3774 9184773f8f Emoncms feeds sensor component (#3258)
* Add Initial version for emoncms feeds sensor

* flake8 test fixes

* pylint test fixes

* - fix bug with include_feed_id_names not assigning the name to the  element in the same postion as found in include_feed_id
- a few structure changes to have less nesting (pylint fix)
- minor other changes

* update .coveragerc

* voluptuous fixes:
- exclude_feed_id and include_feed_id Exclusive group so that only one (or none) can be specified at once
- id must be positive int
- exclude_feed_id and include_feed_id must be positive int

* Fix comment so it refers to the documentation

* use string formatting

* Remove outer try

* clean up sensors.append calls
(break them out for loop)

* multiple changes like:
- rename config value "include_feed_id" to "include_only_feed_id"
- rename config value "include_feed_id_names" to "sensor_names"
- renamed config value sensor_names is now a dictionary an can also be used when renamed config value "include_only_feed_id" is not specified
- Set default value for scan_interval using the config validation
- blank lines between default, 3rd party and own imports
- removed homeassistant.util import, it was not needed anymore

* fix extended voluptuous schema
scan_interval should not be extended to PLATFORM_SCHEMA as it was already in the schema by config_validation helper so i should not add / change it. It was also causing problems reading the value from the config.

* Use Home Assistant polling

* remove statement that can never happen

* Guard clause

* Reduce instance variables
2016-09-17 23:34:24 -07:00
..
components Emoncms feeds sensor component (#3258) 2016-09-17 23:34:24 -07:00
helpers Make track_point_in_utc_time more async (#3428) 2016-09-17 19:51:18 -07:00
scripts Improve yaml fault tolerance and handle check_config border cases (#3159) 2016-09-08 22:20:38 +02:00
util Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
__init__.py Fix PEP257 issues 2016-03-08 00:06:04 +01:00
__main__.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
bootstrap.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
config.py Fix unit log message (#2823) 2016-08-15 22:12:43 -07:00
const.py Implement Sensor for KNX Platform (#2911) 2016-09-13 18:21:43 -07:00
core.py Asyncio event helpers (#3415) 2016-09-17 18:28:01 -07:00
exceptions.py Fix PEP257 issues 2016-03-08 00:06:04 +01:00
loader.py Improvement typing core (#2624) 2016-07-27 20:33:49 -07:00
remote.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00