Commit Graph

67 Commits (fff3cb0b46e00e7e2b784d784476b727f3c17a83)

Author SHA1 Message Date
Dan Smith 2b4be33a3d Fix wemo known device tracking
The wemo component was tracking devices by mac to avoid adding duplicates,
but this means we'd never be able to load more than one static wemo, since
they all have mac=None.

This changes the code to track by url, which has to be unique per wemo
anyway, and which we also have for even static wemos.
2016-02-27 20:56:02 -08:00
Dan Smith 5a126736e4 Fix static configured wemo devices
The new wemo code was pulling 'static' from the global config instead of
the wemo component config.
2016-02-27 20:11:32 -08:00
pavoni bbf8897a51 Add LightSwitch to discovery, default unnown devices to switches for compatability. 2016-02-25 23:02:36 +00:00
Jan Harkes 9b0b3c474e Fix dispatching of WeMo switch devices.
I only have WeMo Link and Insight devices and assumed model names of other
devices were fairly straightforward.

But it looks like the regular WeMo switch uses 'Socket' as the model name.
2016-02-23 10:05:14 -05:00
Jan Harkes afe564fb3f Move WeMo discovery into a common component 2016-02-21 22:23:00 -05:00
Paulus Schoutsen 5770cc03a1 Migrated wemo component to be part of a switch component 2014-11-08 17:20:43 -08:00
Paulus Schoutsen 1e136a2416 Logging is more efficient 2014-11-08 13:59:40 -08:00
Paulus Schoutsen 30ba447c64 More material love for interface 2014-10-29 00:47:55 -07:00
Paulus Schoutsen 997c2e8ef6 Components+configuration now loaded dynamically
A major change to the bootstrapping of Home Assistant decoupling the
knowledge in bootstrap for a more dynamic approach. This refactoring
also prepares the code for different configuration backends and the
loading components from different places.
2014-08-13 14:28:45 +02:00
Paulus Schoutsen 8e65afa994 Add support to hardcode hosts of WeMos 2014-04-24 22:53:35 -07:00
Paulus Schoutsen 2e10d7223a Re-organized core for better reusability 2014-04-24 00:40:45 -07:00
Paulus Schoutsen f4c77c85bd Now using PyWemo instead of Ouimeaux to control WeMo 2014-04-17 21:57:01 -07:00
Paulus Schoutsen ef6d862671 Further Python 3 migration 2014-04-14 23:48:00 -07:00
Paulus Schoutsen 7e06d535ab Ported codebase to Python 3. Long Live Python 3! 2014-04-14 00:10:31 -07:00
Paulus Schoutsen 2890f2d6cc Reworked entity id extraction from service calls 2014-03-24 20:34:35 -07:00
Paulus Schoutsen 82357b421f Add code-reuse to ensure unique entity ids 2014-03-23 12:31:24 -07:00
Paulus Schoutsen 6063ffeb5b Added WeMo support 2014-03-23 12:03:34 -07:00