Marc Forth
2d2e8034d6
Removed the google home warning from emulated_hue ( #13436 )
...
* Removed the google home warning from emulated_hue
* Update test_init.py
* Update test_init.py
2018-03-25 00:45:25 -07:00
Boyi C
321eb2ec6f
Move HomeAssistantView to separate file. Convert http to async syntax. [skip ci] ( #12982 )
...
* Move HomeAssistantView to separate file. Convert http to async syntax.
* pylint
* websocket api
* update emulated_hue for async/await
* Lint
2018-03-08 17:51:49 -08:00
Paulus Schoutsen
f32911d036
Cleanup http ( #12424 )
...
* Clean up HTTP component
* Clean up HTTP mock
* Remove unused import
* Fix test
* Lint
2018-02-15 22:06:14 +01:00
Jack Wilsdon
5426e5c875
emulated_hue: allow customization within emulated_hue configuration ( #11981 )
...
* emulated_hue: add entities configuration
* emulated_hue: update tests to include new entities attribute
2018-01-28 23:40:00 -08:00
Paulus Schoutsen
9123dfce6d
Clarify emulated hue warning ( #11910 )
2018-01-25 11:20:37 +01:00
Markus Nigbur
a83e741dc7
Refactored to new global json saving and loading ( #10677 )
...
* Refactored to new global json saving and loading
* Fixed emulated_hue tests
* Removed unnecassary error handling
* Added missing newline
* Remove unused imports
* Fixed linting error
* Moved _load_json wrapper out of the config class
2017-11-19 19:47:55 -08:00
Charles Garwood
92fe9aadc8
Change some warnings to info ( #10386 )
2017-11-18 20:04:09 +01:00
Joaquín
417240ee3e
Better scene handling ( #10213 )
2017-11-02 12:02:03 +01:00
Paulus Schoutsen
4dc9ac820f
Remove http.development ( #10267 )
...
* Remove http.development
* Remove development
* Remove development from tests
* Remove constant
2017-11-01 13:07:16 +01:00
rbflurry
fd9ceb7381
Replace emulated_hue: with emulated_hue_hidden: for consistency. ( #9382 )
...
* Update __init__.py
* fix lint errors
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
Lint errors
* use get_deprecated instead to log old attr
* Updated tests to hide fan.ceiling_fan
* remove space fix lint
2017-09-26 00:31:35 -07:00
Michael Prokop
08b0629eca
Fix a bunch of typos ( #9545 )
...
s/Addres /Address /
s/Chnage/Change/
s/Converion/Conversion/
s/Supressing/Suppressing/
s/agains /against /
s/allready/already/
s/analagous/analogous/
s/aquired/acquired/
s/arbitray/arbitrary/
s/argment/argument/
s/aroung/around/
s/attibute/attribute/
s/auxillary/auxiliary/
s/befor /before /
s/commmand/command/
s/conatin/contain/
s/conection/connection/
s/coresponding/corresponding/
s/entites/entities/
s/enviroment/environment/
s/everyhing/everything/
s/expected expected/expected/
s/explicity/explicitly/
s/formated/formatted/
s/incomming/incoming/
s/informations/information/
s/inital/initial/
s/inteface/interface/
s/interupt/interrupt/
s/mimick/mimic/
s/mulitple/multiple/
s/multible/multiple/
s/occured/occurred/
s/occuring/occurring/
s/overrided/overridden/
s/overriden/overridden/
s/platfrom/platform/
s/positon/position/
s/progess/progress/
s/recieved/received/
s/reciever/receiver/
s/recieving/receiving/
s/reponse/response/
s/representaion/representation/
s/resgister/register/
s/retrive/retrieve/
s/reuqests/requests/
s/segements/segments/
s/seperated/separated/
s/sheduled/scheduled/
s/succesfully/successfully/
s/suppport/support/
s/targetting/targeting/
s/thats/that's/
s/the the/the/
s/unkown/unknown/
s/verison/version/
s/while loggin out/while logging out/
2017-09-23 17:15:46 +02:00
Paul Krischer
258ad8fc16
Fix issue 5728: Emulated Hue UPnP crashes on special characters. ( #9453 )
2017-09-16 22:21:09 +02:00
Adam Stone
73a15ddd64
Fix emulated hue warning message ( #9452 )
2017-09-16 11:17:27 -04:00
Steve
5d52993231
Support Windows in UPNP discovery ( #8936 )
...
* Support WIndows and Linix
* Correct indentation
* reduce line length
* Lint
2017-08-19 15:26:27 +02:00
cribbstechnologies
369caeedbd
fixing emulated hue issue and testing it ( #8928 )
...
* fixing emulated hue issue and testing it
* fixing hound issues
* I should probably stop using vim
* Check against dict directly instead of items.
2017-08-12 08:50:02 -07:00
Jeff Wilson
9cc3e7e47b
Handle manual edits to emulated_hue_ids.json ( #8560 )
2017-07-19 22:51:50 -07:00
Alok Saboo
86cfc2a0ed
Updated docstrings ( #7383 )
...
* Updated docstrings
* Updated docstrings
* Updated docstrings
* Update docstrings
* Update more docstrings
2017-04-30 20:10:08 -07:00
Fabian Affolter
3ee4d1060f
Update docstrings ( #7361 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update tomato.py
* Update isy994.py
* Lint + fix tests
* Lint
2017-04-29 22:04:49 -07:00
Adam Mills
ecfe8e0a9a
Formalize supported_features as entity property ( #5794 )
...
* Formalize supported_features as entity property
* Remove extra emulated_hue conditions
* Generate log message in executor
2017-02-07 20:42:45 -08:00
jeremydk
b7aba525ca
Emulated Hue "host-ip" fails to bind when running in docker without --net=host ( #5550 )
...
* UPNP changes to allow a separate advertised IP and Port.
* Fixing lint.
* UPNP changes to allow a separate advertised IP and Port.
* Fixing lint.
* Update __init__.py
* Moved logic for advertised ip and port into config class.
* Commenting change for clarity.
* Spacing changes for PEP8
* Spacing Changes for PEP8
* Style Changes
2017-01-27 23:42:37 -08:00
Jan Harkes
6adc5c318e
Add missing dependency in emulated_hue component. ( #5394 )
...
* Add missing dependency in emulated_hue component.
On first startup after upgrade to 0.36, the emulated_hue componented failed to
start because the http component had installed the modules it depends on, in
this particular case 'aiohttp_cors' was missing.
* Include dependencies for the emulated_hue web server
Emulated_hue uses it's own 'web-server' component to handle hue related
discovery and config, so we need to make sure the required http modules are
made available before we are initialized.
We don't have to depend on the home-assistant http/api component because we do
not need to have the frontend to be initialized to handle emulated_hue, so we
can just import in the same set of requirements as the http component.
* Fix linting error
2017-01-24 21:29:34 -08:00
Paulus Schoutsen
2cf2dcd9ba
Emulated_hue: default type to Google [Breaking change] ( #5549 )
2017-01-24 20:25:08 -08:00
Robbie Trencheny
074f9315d7
Fan improvements ( #5457 )
...
* Remove SPEED_MED from fan
* Correctly use the oscillation on/off payloads for MQTT fan
* Add set_direction service documentation
* Correct function name for Wink fans
* Check for existence of the correct topic
* Enable set fan speed in emulated_hue
* features -> functions
* Final emulated_hue fan fixes
* Fix linting issues
* Revert to supported features instead of supported functions
* Fix logic
* Add a test for emulated_hue fan support
2017-01-20 22:21:28 -08:00
Paulus Schoutsen
887a33c7d1
Persist emulated hue IDs ( #5435 )
2017-01-19 21:27:10 -08:00
Bryce Edwards
8e17bf43e0
added upnp_bind_multicast option to emulated_hue component ( #5381 )
2017-01-16 22:52:21 -08:00
Paulus Schoutsen
e68e29e03e
Upgrade to aiohttp 1.2 ( #4964 )
...
* Upgrade to aiohttp 1.2
* Clean up emulated_hue tests
2017-01-11 21:25:02 +01:00
abmantis
e5dfcf7310
Emulated hue: add support for cover open/close ( #5057 )
...
* add support for cover open/close
* fix action compare; reduce line width
2016-12-26 14:00:43 +01:00
abmantis
1c1b04718f
emulated_hue: fix alexa "device not responding" ( #5058 )
...
* emulated_hue: fix alexa "device not responding"
we need to set the brightness to 100 for devices that only turn on
* emulated_hue: dont override brightness for scenes/scripts
* emulated_hue: python and semi-colons
* emulated_hue: fix output brightness level
2016-12-26 13:58:32 +01:00
Albert Lee
7b45cf8e59
Expose media volume as emulated Hue brightness ( #4869 )
...
* Allow virtual Hue bridge to set volume level of media_player entities
* Show correct states in all lights view
2016-12-15 21:47:23 -08:00
Keaton Taylor
194b268ae3
Get entity name from entity.name ( #4798 )
...
Grabbing the ATTR_FRIENDLY_NAME directly produces an error. Instead
grab from entity.name.
2016-12-07 21:45:18 -08:00
Jeff Wilson
b3253403aa
Set hue-bridgeid in UPNP response ( #4740 )
2016-12-05 17:39:40 -08:00
Paulus Schoutsen
a9be6c36f1
Re-org emulated_hue and fix google home ( #4708 )
2016-12-04 10:57:48 -08:00