1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-23 11:26:46 +00:00
Files
core/homeassistant/components/sensor
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
..
2016-08-30 21:34:33 +02:00
2016-09-11 09:24:07 +02:00
2016-09-03 10:56:41 +02:00
2016-08-19 00:11:56 -07:00
2016-08-22 20:51:17 -07:00
2016-09-03 20:36:21 -06:00
2016-08-24 22:35:09 -06:00
2016-09-08 18:26:50 -06:00
2016-09-03 09:35:33 +02:00
2016-09-06 08:53:21 -06:00
2016-09-04 10:27:19 -06:00
2016-09-09 19:33:12 +02:00
2016-09-03 17:30:21 -06:00
2016-09-17 10:29:58 -07:00
2016-09-13 22:37:57 -07:00
2016-09-11 21:27:58 +02:00
2016-09-13 23:10:49 -07:00
2016-09-09 17:10:46 +02:00
2016-09-03 16:45:49 -07:00
2016-09-01 19:23:26 +02:00
2016-09-03 16:45:31 -07:00
2016-08-19 14:56:10 +02:00
2016-09-03 20:21:59 -06:00
2016-09-01 22:34:07 -06:00
2016-09-14 11:58:26 +02:00
2016-09-04 10:32:12 -06:00
2016-09-13 21:27:43 +02:00
2016-09-06 18:28:55 -07:00