Commit Graph

71 Commits (14a9b9fe3f69e5f858acbf848aedab3fbb07ec52)

Author SHA1 Message Date
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
pavoni 0d32bd7a19 Simplify callback logging, add stop log 2015-12-27 23:26:35 +00:00
pavoni 4feef3dd0d Simplify update state call, shutdown properly. 2015-12-27 23:09:39 +00:00
pavoni 3f151428b7 Update pywemo version, use wildcard filter 2015-12-24 09:35:02 +00:00
pavoni 6d236b8169 Force state update 2015-12-23 18:03:40 +00:00
pavoni 09b894a4aa Fix style issues 2015-12-23 15:57:51 +00:00
pavoni 1e2b5e6991 Add support for subscriptions 2015-12-23 15:46:18 +00:00
pavoni bbf73e0bae Bump pywemo version - fixed scan device = None bug 2015-11-27 19:05:15 +00:00
Fabian Affolter 97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Fabian Affolter b3b2f2e326 Fix pylint and flake issues 2015-10-28 00:18:03 +01:00
pavoni dbc05450a0 Bump requirements_all.txt version, remove pylint disable 2015-10-26 16:32:12 +00:00
pavoni ef6c209c6f Revise for clarity, disable pylink check 2015-10-26 09:03:57 +00:00
pavoni 0826ae2742 Revise pywemo version, update discovery.device_from_description parameters 2015-10-26 08:37:13 +00:00
Fabian Affolter 4f3b3a9e34 Use the logger the same way as other platforms 2015-10-23 22:53:58 +02:00
Paulus Schoutsen 64a73f6b67 Update pywemo dependency 2015-09-30 00:12:00 -07:00
pavoni 80c89d218b Avoid throwing an exception when a wemo device with attributes isn't found 2015-09-27 21:05:45 -07:00
Fabian Affolter 78a555faf5 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:39:16 +02:00
pavoni 794a11db21 Remove debug statements! 2015-08-31 16:33:12 +01:00
pavoni 93cd7bfc5d Split comment to keep line short 2015-08-31 15:19:04 +01:00
pavoni 3256552675 Fix bug, use constants for states. 2015-08-31 13:12:17 +01:00
pavoni 54dd09df29 Fix typos 2015-08-31 12:13:53 +01:00
pavoni 5ed6987067 Refactor wemo standby state slightly 2015-08-31 11:07:52 +01:00
pavoni 028551784a Update pywemo to 0,3 2015-08-30 22:50:08 +01:00
pavoni bfbaaa8e9f Merge remote-tracking branch 'balloob/dev' into feature/enhance_wemo 2015-08-30 22:47:49 +01:00
Ryan Kraus 893ae15042 Changed component REQUIREMENTS to absolute versions. 2015-08-29 21:39:50 -04:00
pavoni dfae1a44a6 Add standby state to WeMo Insight Switch, and add WeMo Maker 2015-08-28 23:11:55 +01:00
Paulus Schoutsen e917479fba Update netdisco to latest version 2015-08-23 17:18:52 -07:00