Paulus Schoutsen
46e030662d
Fix pylint 1.7.2 no-else-return issues ( #8361 )
...
* Fix pylint 1.7.2 no-else-return issues
* Update tomato.py
2017-07-05 23:30:01 -07:00
Paulus Schoutsen
5779d64e98
Fix some issues for PyLint 1.7.2 ( #8356 )
...
* Fix some issues for PyLint 1.7.2
* More fixes
* Revert position change for cover
2017-07-05 20:02:16 -07:00
Fabian Affolter
203f48cadc
Update docstrings ( #7420 )
2017-05-03 10:11:39 +02:00
Fabian Affolter
4d52b0ecd5
Update docstrings ( #7405 )
...
* Update docstrings
* Fix lint issues
* Update docstrings
2017-05-02 22:47:20 +02:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Greg Dowling
6a8a656fef
Workround for wemo subscription bug. ( #7245 )
2017-04-23 23:18:43 -07:00
Paulus Schoutsen
76d2154820
Fix wemo discovery ( #7183 )
...
* Fix wemo discovery
* Fix key
2017-04-19 21:25:45 -07:00
Lewis Juggins
9de4c2b056
[switch.wemo] Fix today_energy_kwh calculation. ( #6846 )
...
* [switch.wemo] Fix today_energy_kwh calculation.
* Blank line fail
* Round to two decimal places.
2017-03-29 21:49:28 +02:00
Lewis Juggins
6dba05c79f
[switch.wemo] Fix mW to kW conversion. ( #6826 )
...
* Fix mW to kW conversion.
* Line length.
2017-03-28 17:24:33 +02:00
Greg Dowling
c53de19246
Update Insight parameters using the subscription data. ( #6782 )
...
* Update Insight parameters using the subscription dta.
* Minor refactor.
* Tidy.
2017-03-27 12:43:43 +02:00
Greg Dowling
acf75b5253
Revise power and energy units and property names. ( #6212 )
...
* Revise power and energy units and property names.
* Add change for new wemo parameter.
2017-03-19 22:02:11 +01:00
jumpkick
fc5e25a07b
Incorporate comment suggestions
...
- Separate attribs from coffeemaker condition
- Set power units for threshold to mW to be consistent with others
- Adjust on-time labels to be more clear
2017-02-23 18:03:49 -05:00
jumpkick
ef87d4dad4
Update device_state_attributes only
...
This gets rid of the other stuff and just updates device_state_attributes, leaving the default properties alone.
2017-02-23 04:54:09 -05:00
jumpkick
f6e46aecf5
Update wemo.py
2017-02-15 17:32:45 -05:00
jumpkick
e9cf5f6f42
Update wemo.py
2017-02-15 16:58:11 -05:00
jumpkick
e221c8a37d
Update wemo.py
2017-02-15 16:57:16 -05:00
jumpkick
b163544e3c
Back to you travis....
2017-02-15 16:47:02 -05:00
jumpkick
a718e92708
Update wemo.py
...
trailing whitespace... (argh... the bot should just trim it)
2017-02-15 15:40:02 -05:00
jumpkick
44d274e428
Update wemo.py
...
* continuation line under-indented for visual indent
2017-02-15 15:38:41 -05:00
jumpkick
c404fb7142
Update wemo.py
...
* Reordered datetime import
* Spaces by 4
2017-02-15 15:34:42 -05:00
jumpkick
29c7987453
Improvements for WeMo Insight switches
...
* Changes current power units to watts
* Adds power on times and additional totals
2017-02-14 18:29:23 -05:00
Stu Gott
191d7b0a50
Add support for Wemo CoffeeMaker devices ( #5505 )
...
* Add support for Wemo CoffeeMaker devices
* Add CoffeeMaker to WEMO_MODEL_DISPATCH
2017-01-24 22:10:10 -08:00
Paulus Schoutsen
0f59bb208c
Migrate callbacks to use schedule_update_ha_state ( #4426 )
...
* Migrate callbacks to use schedule_update_ha_state
* Migrate MQTT sensor callback to async
* Migrate wemo to not update inside schedule_update_ha_state
* Make MQTT switch async
* Fix nx584 test
* Migrate tellstick callback
* Migrate vera callback
* Alarm control panel - manual: use async callbacks
* Run the switch rest tests that work
2016-11-17 07:34:46 -08:00
Paulus Schoutsen
f006b00dc1
Fix spelling schedule_update_ha_state ( #4415 )
2016-11-16 08:26:29 -08:00
Pascal Vizeli
41aaeb715a
Convert switch to AsnycIO ( #4382 )
...
* Convert switch to AsnycIO
* Move update entity to service
* use time better for faster handling
* Change to suggestion from paulus
* Use new shedule_update_ha_state
* fix lint
* minimize executor calls
2016-11-15 21:06:50 -08:00
pavoni
fe2adff017
Handle startup race condition.
2016-03-14 10:29:12 +00:00
Fabian Affolter
d6eab03a61
Remove parenthesis
2016-03-08 18:05:01 +01:00
Fabian Affolter
49ebc6d0b0
Fix PEP257 issues
2016-03-08 13:35:39 +01:00
pavoni
b2d32114c8
Fix typo.
2016-02-26 08:28:17 +00:00
pavoni
ddbceebd65
Cast standby_state to int before testing.
2016-02-26 00:16:33 +00:00
pavoni
86973226b1
Remove ghost comment.
2016-02-25 23:13:20 +00:00
pavoni
72144945b4
Move standby from state to attribute, add optimistic switch status.
2016-02-25 22:46:14 +00:00
Jan Harkes
afe564fb3f
Move WeMo discovery into a common component
2016-02-21 22:23:00 -05:00
Jan Harkes
368ad93eb6
Only add discovered switches instead of any WeMo device.
2016-02-21 21:57:53 -05:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
pavoni
98d18c3060
Bump pywemo version.
2016-02-18 19:32:30 +00:00
Dan Smith
4cfa14c29d
Support manually-defined WeMo devices
...
This is extremely useful if you want to support wemos that are on
another subnet or across a VPN. It also lets you sidestep the discovery
process, which is problematic for a lot of people and situations.
In order for this to work, we need to bump the pywemo requirement to
0.3.10, which includes my changes to make this possible.
WeMo devices can be manually configured by adding a static section to
the config, like this:
switch:
platform: wemo
static:
- 192.168.100.5
- 192.168.100.6
2016-02-11 17:23:20 +00:00
Paulus Schoutsen
f08b77dc4c
Clean up state_attributes vs device_state_attributes
2016-02-06 22:34:24 -08:00
MartinHjelmare
d773ad1ecb
Fix mysensors version errors
...
* The application of the version check in unit_of_measurement was
messed up after the last refactor. Fix that again.
* An error could occur in device_state_attributes if there was a
mismatch between used value_type in the device and mysensors
version in config. Add try... except to handle that.
Bump pyvera version.
Bump pywemo version.
Add unavailable status before properly initialised for maker and insight.
2016-02-07 00:28:12 +00:00
pavoni
d2d421ca8f
Remove ghost debug code.
2016-01-20 20:02:03 +00:00
pavoni
7ad5b3a17b
Fix bug related to maker_param types
2016-01-20 19:13:29 +00:00
pavoni
0de9229d75
More tidying.
2016-01-20 11:25:20 +00:00
pavoni
f4c3ac2a62
Tidy
2016-01-20 11:19:00 +00:00
pavoni
6c5ceaf686
Remove sensor state from switch and wemo
2016-01-20 11:06:08 +00:00
pavoni
bb8af3a2d5
Bump pywemo version, turn off polling, tidy trace.
2016-01-08 16:00:26 +00:00
pavoni
6773c35760
Bump pywemo version
2015-12-31 18:47:12 +00:00
pavoni
41a36df801
Update pywemo version
2015-12-30 11:54:21 +00:00
pavoni
976d9f2d08
Fix style issue
2015-12-28 00:04:30 +00:00
pavoni
f5dd146676
Fix bug in shutdown
2015-12-27 23:56:18 +00:00
pavoni
b114ba56ea
Fix style issue
2015-12-27 23:31:48 +00:00