Nicklas Johnson
49d7bbe55d
Fix emulated hue SO_REUSEPORT when creating the upnp socket for proper sharing ( #86916 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-02-05 14:57:22 -06:00
J. Nick Koston
1c334605b6
Enable strict typing to emulated_hue ( #72676 )
...
* Add typing to emulated_hue part 2
* cleanups
* adjust targets in test
2022-05-30 08:49:37 +02:00
Marc Mueller
9b9b553521
Disable no-self-use [pylint] ( #70641 )
...
* Disable no-self-use
* Remove disable comments
2022-04-25 07:41:01 -07:00
tkdrob
8e06fa017d
Use core constants for emulated_hue ( #46092 )
2021-02-07 13:52:48 -05:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
J. Nick Koston
3cc099af80
Make emulated_hue upnp responder async ( #39126 )
2020-08-23 09:50:59 +02:00
J. Nick Koston
03a0114e10
Avoid shutdown delays when emulated_hue is enabled ( #38472 )
...
We would have to wait for the select to timeout for
emulated_hue upnp thread to shutdown
We now close the socket so the select unblocks
right away
2020-08-02 08:32:07 -10:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Thomas Hollstegge
ed62fe03b0
Fix emulated_hue compatibility with older devices ( #36090 )
...
* Fix emulated_hue compatibility with older devices
* Fix test ugliness
* Fix pylint errors
2020-05-25 14:55:23 -05:00
Thomas Hollstegge
c5379a0f35
Improve emulated_hue compatibility with newer systems ( #35148 )
...
* Make emulated hue detectable by Busch-Jaeger free@home SysAP
* Emulated hue: Remove unnecessary host line from UPnP response
* Test that external IPs are blocked for config route
* Add another test for unauthorized users
* Change hue username to nouser
nouser seems to be used by the official Hue Bridge v1 Android app and is
used by other projects as well
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-04 00:18:33 -05:00
Franck Nijhof
6f1900c6f4
Replace OSError aliases with OSError ( #33655 )
2020-04-04 22:09:11 +02:00
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt
27bd6ca1db
Sort imports according to PEP8 for emulated_hue ( #29667 )
2019-12-09 12:12:41 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01: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
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
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
Bryce Edwards
8e17bf43e0
added upnp_bind_multicast option to emulated_hue component ( #5381 )
2017-01-16 22:52:21 -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