Andrey
b6ee2332f4
Better thread safety in zwave node_entity ( #7087 )
...
* Better thread safety
* Update node_entity.py
2017-04-13 23:45:27 +03:00
Andrey
5e18c997f7
Add product_name attribute to zwave nodes. ( #7071 )
2017-04-12 21:12:37 +03:00
Andrey
5d1dbd61b2
Preserve customize glob order. ( #6963 )
...
* Preserve customize glob order.
* add tests
2017-04-08 04:50:52 -07:00
Andrey
f96e06a2c2
Preserve customize glob order. ( #6963 )
...
* Preserve customize glob order.
* add tests
2017-04-06 22:39:35 -07:00
Andrey
fb8323f48d
Remove zwave cover invert workaround. Use config instead. ( #6832 )
2017-03-28 23:01:29 +03:00
Andrey
8a86ec5b74
Add zwave per-node entity. ( #6690 )
...
* Add zwave per-node entity.
* Disable lint import error
* Add tests for base class
* More tests
* More tests
* Sort .coveragerc
* more tests
* Move location, battery and wakeup to node entity
* More tests
* Cleanup
* Make zwave node entity visible by default
* Remove battery sensor
* Fix tests
2017-03-23 08:37:20 -07:00
Andrey
aeeb927e19
Fix for the case of zwave value used in several devices. ( #6577 )
2017-03-15 23:16:50 -07:00
Andrey
5722cf53bf
Fix for the case of zwave value used in several devices. ( #6577 )
2017-03-13 12:19:45 -05:00
Andrey
eaaa0442e2
Add a Z-wave workaround to do full refresh on update ( #6403 )
...
* Add Zwave refresh services
* services file
* Use dispatcher
* Add zwave prefix to signal
* Add a Z-wave workaround to do full refresh on update
2017-03-05 12:55:52 -08:00
Andrey
d5435cf066
Rename _scheduled_update to _update_scheduled ( #6434 )
2017-03-05 10:53:47 -08:00
Andrey
46ec6d6dce
Delay zwave updates for 100ms to group them. ( #6420 )
...
* Add Zwave refresh services
* services file
* Use dispatcher
* Add zwave prefix to signal
* Delay zwave updates for 100ms to group them.
* Fixes
* lint
* Access _scheduled_update from loop thread only.
* More async
* Some optimizations
* Fix
2017-03-05 09:29:59 -08:00
Andrey
aac9f972cf
Add Zwave refresh services ( #6377 )
...
* Add Zwave refresh services
* services file
* Use dispatcher
* Add zwave prefix to signal
2017-03-04 09:13:24 -08:00
Andrey
aa17481c94
Add Z-Wave battery level as a sensor. ( #6341 )
2017-03-03 09:19:06 +02:00
Andrey
597ae2e716
Zwave: Add remove/replace failed node services. ( #6248 )
...
* Zwave: Add remove/replace failed node services.
* Fix text
2017-03-02 12:36:40 +01:00
Andrey
354007f265
Zwave optimize value_added ( #6210 )
...
* Make zwave devices listen on less network changes.
* Convert more platforms
* Remove printouts.
* Fix copy-paste
* Change default dependent list to empty list
2017-03-01 22:41:19 -08:00
Andrey
7ee75d67c5
Add temperature support for MH-Z19 CO2 sensor. ( #6169 )
...
* Add temperature support for MH-Z19 CO2 sensor.
* Remove debug printout
* More tests
* Minor fixes
2017-02-27 21:19:11 +02:00
Andrey
eb36174b51
Make glob preserve order ( #6224 )
2017-02-25 14:35:27 -08:00
Andrey
85d0f2e861
Make glob preserve order ( #6224 )
2017-02-25 12:54:04 -08:00
Andrey
c5a8372f13
Update flake8 and pylint to latest ( #6217 )
2017-02-25 09:44:22 +01:00
Andrey
b27ba9660b
Some zwave cleanup ( #6203 )
2017-02-24 16:17:27 +02:00
Andrey
1d32bced1c
Create zwave devices on OZW thread and only add them during discovery ( #6096 )
...
* Create zwave devices on OZW thread and only add them during discovery.
* Read and write devices dict from loop thread.
* More async
* replace callback with coroutine
* import common function instead of callin git
2017-02-23 13:06:28 -08:00
Andrey
beb8b4b11f
Zwave: add power_consumption attribute ( #6067 )
...
* Zwave: Pull power consumption value into attribute.
* Zwave: Add power_consumption attribute.
* fix condition
* Update __init__.py
* Update
* Simplify class condition
* Handle empty class_id
2017-02-18 16:51:13 -08:00
Andrey
c1eed148cc
Clean up value_added in zwave light. ( #6074 )
2017-02-17 23:54:45 -08:00
Andrey
91c3a49a5b
Zwave: Add forgotten service file ( #6073 )
...
* add print
* Add 'print_node' service to zwave.
* Add forgotten service file
2017-02-17 22:09:38 +02:00
Andrey
1f72506f9b
Add 'print_node' service to zwave ( #6069 )
...
* add print
* Add 'print_node' service to zwave.
2017-02-17 22:03:55 +02:00
Andrey
bb64560089
Zwave: Make different messages for ignores by woraround and device config. ( #6061 )
2017-02-17 16:19:21 +01:00
Andrey
905f4bf994
Support zwave glob & domain device settings. ( #6046 )
...
* Support zwave glob & domain device settings.
* data[DATA_DEVICE_CONFIG].get() now always return non-None
* Update test
* Update tests2
* Lint fix
2017-02-16 15:19:22 -08:00
Andrey
04f3fe0ba3
Point-fix zwave getter not to ignore label ( #5938 )
2017-02-14 21:37:32 -08:00
Andrey
67d35e6454
Point-fix zwave getter not to ignore label ( #5938 )
2017-02-14 11:59:34 -08:00
Andrey
ffb46ab541
Add 'days' flag to history fetch urls. ( #5895 )
...
* Add 'days' flag to history fetch urls.
* Fix unrenamed variable
* Switch to end_time param instead of days
* Checkthat end_time is parsed
2017-02-13 22:10:39 -08:00
Andrey
e70b7ab509
Allow printing the number of states returned by history and time it took to extract. ( #5973 )
2017-02-13 21:48:53 -08:00
Andrey
0feb1c3e28
Add workaround for ignoring zwave devices and reversing cover open/close ( #5922 )
2017-02-13 20:59:42 +02:00
Andrey
f4372a7df5
Fix getters that ignored labels. ( #5903 )
...
* Fix getters that ignored labels.
* Try 5 times for changed dict
* fix lint
* Add decorator with retrying functions.
* Fix lint
* use retries instead of decorator
2017-02-12 15:42:09 -08:00
Andrey
9b0a3e4c5a
force_update zwave sensors. ( #5844 )
...
* force_update zwave sensors with polling_intensity.
* use bool to cast
* Make all zwave sensors force_update=True
2017-02-12 14:10:56 -08:00
Andrey
35118b6d9c
Make hdmi_cec work with the new customize ( #5916 )
2017-02-12 14:02:45 -08:00
Andrey
dc6a28a8b2
Make hdmi_cec work with the new customize ( #5916 )
2017-02-12 11:19:15 -08:00
Andrey
b981bfba7e
Stop using entity_picture that is known to be bad. ( #5856 )
...
* Stop using entity_picture that is known to be bad.
* Only abandon image on 400 or 404 response
* Return is_permanent_failure as a third part of response
* Add debug printout
* Fix lint
* Fix lint
2017-02-11 20:33:41 +02:00
Andrey
2b62e9f008
Fix zwave helper getter not to fail on some None results. ( #5845 )
2017-02-10 20:55:33 -08:00
Andrey
0b5191a247
Add support for zwave wakeup setting. ( #5849 )
...
* Add support for zwave wakeup setting.
* rename wakeup
2017-02-10 08:54:48 -08:00
Andrey
5bd54f69cc
Fix zwave helper getter not to fail on some None results. ( #5845 )
2017-02-10 12:30:44 +02:00
Andrey
4b15946a9b
Make sure workaround_component is not none ( #5808 )
2017-02-08 21:11:36 +02:00
Andrey
1b54218d46
Create a file for zwave workarounds. ( #5798 )
...
* Create a file for zwave workarounds. Add sensor->binary_sensor for fgfs101 (#2 )
* Don't use default None
2017-02-07 20:37:11 -08:00
andrey-git
f774538e66
Check config before restarting ( #5609 )
...
* Check config before restarting.
* Make check_config on restart async
* don't check if notification service exists
* Use .communicate()
* Reduce the number of notifications. Add tests.
2017-02-07 01:19:08 -08:00
andrey-git
26a3ecc9d0
Merge pull request #5718 from benvm/modbus_write_register_array
...
Modbus write_register doesn't accept list
2017-02-06 13:55:48 +02:00
andrey-git
1fb372ffdb
Apply new customize format to Zwave ( #5603 )
2017-01-28 22:29:51 +02:00
andrey-git
b7e477fbba
Copy val in config.py before modifying ( #5520 )
...
* Copy val before modifying
* Bad line location
2017-01-23 13:24:13 -08:00
andrey-git
addc2c4340
Allow easier customization of whole domain, entity lists, globs. ( #5215 )
2017-01-22 21:19:50 +02:00
andrey-git
0b685a5b1e
Expose supported_features of mqtt_json ( #5250 )
...
* Expose supported_features of mqtt_json
* Remove whitespace
2017-01-10 00:40:52 +01:00
andrey-git
a0a9f26312
Keep previous brightness of dimming zwave light upon turning it on/off ( #5160 )
...
* Keep previous brightness of dimming zwave light upon turning it on/off
* Fix initialization
* Use value 255 to set dimmer to previous value
2017-01-03 20:31:44 +01:00
andrey-git
a7cc7ce476
Clean up DEFAULT_DEBUG constant in zwave ( #5138 )
...
Nice 👍
2017-01-02 18:45:44 +01:00
andrey-git
7fbf68df35
Add print_config_parameter service to Z-Wave ( #5121 )
...
* Add print_config_param service to z-wave
* Add print_config_parameter service to z-wave
* Add print_config_parameter service to z-wave
* Fix typos
* Fix typos
* Fix typo
2017-01-01 21:10:45 +01:00
andrey-git
4728fa8da6
Allow to specify TTS language in the service call. ( #5047 )
...
* Allow to specify TTS language in the service call.
* Allow to specify TTS language in the service call.
* Respect 79 char limit
* Fix "Too many blank lines"
* Fix "Too many blank lines"
* Fix "Too many blank lines"
* Change language to be optional parameter of *get_tts_audio
* Change language to be optional parameter of *get_tts_audio
* Respect 79 char limit
* Don't pass "None
* Use default of "None" for TTS language
* Use default of "None" for TTS language
* Don't pass "None"
* Change TTS cache key to be hash_lang_engine
* Change language from demo to en
* Fix wrong replace
2016-12-27 17:01:22 +01:00
andrey-git
744d00a36e
Fix non-radio Sonos album-art by using track_info['album_art'] before checking other options. ( #4958 )
...
* Fix Sonos album art for non-radio streams
* Revert "Fix Sonos album art for non-radio streams"
This reverts commit d71502d18f5778146cf45dcb717aba71f88a3fac.
* Fix Sonos album art for non-radio streams
* Move art existance check into _format_media_image_url
2016-12-18 12:58:59 -08:00