Martin Hjelmare
069a4b1706
Refactor mysensors component
...
* Add MySensorsDeviceEntity class to hold the common attributes,
properties and methods for mysensors entities.
* Inherit from MySensorsDeviceEntity class in binary_sensor, light,
sensor and switch mysensors platforms.
* Remove not needed attribute and method for const in GatewayWrapper
class. The const attribute is already set in the wrapped object.
* Clean up state property for mysensors sensor entities.
* Inherit from MySensorsLightRGB in MySensorsLightRGBW class.
* Remove use of get_component in mysensors component and platforms.
* Clean up update method in MySensorsDeviceEntity class.
2016-04-30 15:27:59 +02:00
Brad Johnson
725b336683
Upgrading to python-wink 0.7.5. ( #1925 )
...
This fixes a bug where light bulb statuses were failing to update on the HA polling update call.
2016-04-28 08:22:39 +02:00
Paulus Schoutsen
9d391becc1
Add mysensors tcp ethernet gateway ( #1861 )
...
* Bump version of pymysensors to 0.6, which includes the tcp gateway.
* Update requirements_all.txt.
* Replace CONF_PORT with CONF_DEVICE and ATTR_PORT with ATTR_DEVICE.
* Add tcp_port in config.
* Try to guess if tcp or serial gateway is configured, by validating
device name as an ip address. If successful setup tcp gateway, if it
fails, setup serial gateway.
* Update device_state_attributes to show correct device, ethernet or
serial.
2016-04-19 21:00:56 -07:00
Brad Johnson
09693bf16c
Upgrading to python-wink 0.7.4 and improving RGB color support in HA ( #1832 )
2016-04-17 19:07:21 -07:00
John Arild Berentsen
b45c0cd735
Zwave import fixes for stability ( #1845 )
2016-04-17 14:46:51 -07:00
Paulus Schoutsen
68d92c3196
Use standardised datetime format
2016-04-16 01:46:50 -07:00
Jan Harkes
9d848731d9
Nest config validation ( #1810 )
...
* Config validation for Nest platforms.
2016-04-11 21:52:19 -07:00
Jan Harkes
a7016e4b32
Move CONF_STATE_TOPIC, CONF_COMMAND_TOPIC and CONF_RETAIN to mqtt component.
2016-04-06 22:51:39 -04:00
Jan Harkes
287f0f4f68
Config validation for MQTT binary_sensor platform.
2016-04-06 22:51:38 -04:00
Paulus Schoutsen
5baa98b79f
Add initial config validation
2016-03-28 23:46:12 -07:00
Fabian Affolter
2db49ebca5
Add connectivity to sensor classes
2016-03-27 11:48:48 +02:00
Fabian Affolter
ee36c36783
Add support for sensor classes
2016-03-26 23:39:56 +01:00
Flyte
ada561df30
Remove unused import and unnecessary DOMAIN constant from TCP components.
2016-03-26 17:33:18 +00:00
Ellis Percival
15303fd32d
Remove unnecessary dependency from TCP binary sensor for #1617
2016-03-26 16:42:53 +00:00
Paulus Schoutsen
de6fc771cb
Merge pull request #1607 from fabaff/sensor-class-rest
...
Add support for sensor classes
2016-03-25 23:27:21 -07:00
Fabian Affolter
f0970f4104
Add support for sensor classes
2016-03-25 18:34:58 +01:00
Paulus Schoutsen
41f205e09d
Clean up template platforms
2016-03-24 23:22:17 -07:00
Paulus Schoutsen
c093a2bf54
Merge pull request #1564 from balloob/fix_template_race_condition
...
Fix remaining race condition in template components.
2016-03-17 21:18:38 -07:00
William Scanlon
208a7c9e60
Added available method to all wink components
2016-03-17 15:57:26 -04:00
pavoni
4e7160139e
Fix race condition in template components.
2016-03-17 12:10:19 +00:00
Greg Dowling
fd27e4fc7d
Merge pull request #1550 from balloob/restructure_vera
...
Refactor vera into a platform.
2016-03-16 09:28:27 +00:00
pavoni
9fc73fa644
Refactor vera into a platform.
2016-03-16 09:03:56 +00:00
bradsk88
8a6cc49438
Upgrading python-wink to 0.6.3
...
This corrects a bug where multi-sensors' internal states were rendered null when downloading state updates from the Wink API.
2016-03-14 19:16:54 -06:00
pavoni
fe2adff017
Handle startup race condition.
2016-03-14 10:29:12 +00:00
Paulus Schoutsen
a01111ae56
Merge pull request #1457 from fabaff/sensor-classes
...
Add support for sensor classes
2016-03-11 22:50:32 -08:00
root
1f8b66511d
Workaround for no off motion sensor: Wenzhou tkd slim sensor 3/4 in 1 sensor
2016-03-11 20:51:40 +01:00
Fabian Affolter
4637a83c29
Add sensor_class to MQTT binary sensor
2016-03-10 20:51:58 +01:00
Greg Dowling
534308e461
Merge pull request #1473 from balloob/add_wemo_motion
...
Add Wemo Motion device as a binary sensor.
2016-03-10 18:13:04 +00:00
pavoni
84bdba28b3
Add Wemo Motion
2016-03-10 17:58:24 +00:00
Paulus Schoutsen
b9856a2af5
Fix final pep257 issues
2016-03-09 23:34:38 -08:00
Fabian Affolter
f22a40c3e8
Fix PEP257 issues
2016-03-09 11:15:04 +01:00
Fabian Affolter
7035af6634
Fix PEP257 issues
2016-03-07 20:21:08 +01:00
pavoni
4e3c8a8697
Fix noisy error on startup. Make callbacks code consistent.
2016-03-06 19:19:07 +00:00
Stefan Jonasson
c586111c8c
Fixed the z-wave sensor workarounds for empty manufacturer ids
2016-02-29 11:05:11 +01:00
Paulus Schoutsen
be55ee059e
Make names command line platform consistent
2016-02-27 15:56:35 -08:00
William Scanlon
5a64ef2c98
Moved Wink binary sensors to a binary sensor class
2016-02-25 14:03:02 -05:00
Paulus Schoutsen
35aa9aa863
Merge pull request #1383 from kk7ds/virtual-binary-sensor
...
Template binary sensor
2016-02-24 22:15:01 -08:00
Dan Smith
a7519bb38b
Add a template binary_sensor platform
2016-02-24 20:09:13 -08:00
Paulus Schoutsen
caa1b73035
Merge pull request #1394 from MartinHjelmare/use-get_component-mysensors
...
Use get_component instead of importing component for mysensors
2016-02-24 19:55:03 -08:00
MartinHjelmare
2790ee0b02
Use get_component instead of importing component
2016-02-25 00:24:31 +01:00
Paulus Schoutsen
eb681e721c
Merge pull request #1387 from stefan-jonasson/z_wave_workaround_fix
...
Fixed the workaround for philio slim multi sensor.
2016-02-24 14:45:27 -08:00
Stefan Jonasson
db06d5a03d
Fixed the z-wave trigger sensor workaround
2016-02-24 22:44:49 +01:00
Dan Smith
eb5f208a09
Add a few more sensor classes
...
This adds hot, cold, and moving sensor_class values for things that we
may want to support.
2016-02-24 10:38:21 -08:00
Fabian Affolter
4563c54a3e
Add link to docs and modify docstrings to match PEP257
2016-02-24 10:38:06 +01:00
Stefan Jonasson
04b48e0683
Moved the workaround for philio slim multi sensor.
...
Changed the key matching to utilize integer values. It does not report always return the hex marker '0x' in the identifier strings. This Re closes issue #1349
2016-02-24 10:28:49 +01:00
Fabian Affolter
582394bc3b
Modify import of template and PEP257
2016-02-23 21:19:22 +01:00
Fabian Affolter
5bd0b5ab99
Update docstring
2016-02-22 14:43:12 +01:00
Fabian Affolter
fd3ea95b82
Add docstrings, fix typos, and update docsstring for PEP257
2016-02-22 10:11:46 +01:00
Paulus Schoutsen
82e11e237e
Merge pull request #1268 from flyte/tcp-component-pr
...
Add generic TCP socket component
2016-02-21 19:21:20 -08:00
Teemu Patja
d1a4dc77d1
Disable pylint warning
2016-02-21 10:01:03 +02:00