Paulus Schoutsen
ab8b94382e
Update Hue discovery ( #31215 )
2020-01-27 10:54:38 -07:00
Franck Nijhof
4571cf01e2
Update Hue existing config entry with discovery data ( #31087 )
...
* Update Hue existing config entry with discovery data
* Updated method documentation comments
* Update implementation to match latest dev
* Use named argument for clarity
2020-01-24 09:07:53 -08:00
HomeAssistant Azure
692e4f27c4
[ci skip] Translation update
2020-01-21 00:33:20 +00:00
Paulus Schoutsen
9f20185cee
Fix hue accepting filename ( #30924 )
2020-01-17 15:38:38 -08:00
Paulus Schoutsen
7da84dca76
Reinstate and deprecate filename option for hue config ( #30846 )
2020-01-16 11:28:35 -08:00
Paulus Schoutsen
6f24fe3970
Handle no host info in ignored config entries ( #30822 )
2020-01-16 10:19:38 +01:00
Paulus Schoutsen
1f9d6ba541
Update Hue SSDP discovery ( #30695 )
2020-01-13 05:30:07 -08:00
HomeAssistant Azure
d6512c8a9f
[ci skip] Translation update
2020-01-11 00:31:55 +00:00
Franck Nijhof
0e9b414c26
Migrate Integration Quality Scale from docs to manifest ( #30579 )
2020-01-08 14:19:42 +01:00
Sascha Kühndel
23700e4db8
Fix hue flashing innr lights ( #29828 )
2020-01-07 20:56:57 +01: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
Ian Duffy
5580ee3fa1
Don't allow badly formed upnp devices to kill auto discovery ( #30342 )
...
Prevent the following from occurring:
```
2019-12-31 22:38:41 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 85, in async_init
return await self._async_handle_step(flow, flow.init_step, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 145, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/deconz/config_flow.py", line 182, in async_step_ssdp
if discovery_info[ssdp.ATTR_UPNP_MANUFACTURER_URL] != DECONZ_MANUFACTURERURL:
KeyError: 'manufacturerURL'
2019-12-31 22:38:41 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 85, in async_init
return await self._async_handle_step(flow, flow.init_step, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 145, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/deconz/config_flow.py", line 182, in async_step_ssdp
if discovery_info[ssdp.ATTR_UPNP_MANUFACTURER_URL] != DECONZ_MANUFACTURERURL:
KeyError: 'manufacturerURL'
```
2020-01-03 12:08:40 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
Ville Skyttä
d236a19139
Include all SSDP data in discovery info ( #28197 )
...
* Include all SSDP data in discovery info
* Use UPnP device description as discovery info, inject some SSDP attrs
* Clean up attribute names
* Adapt existing SSDP flows to changed attribute names
* Prefix all SSDP UPnP attribute name constants with ATTR_UPNP, tweak a bit
2019-12-19 19:28:03 +02:00
Paulus Schoutsen
9c7caaa142
Add option to ignore flows ( #30008 )
2019-12-18 07:41:01 +01:00
Paulus Schoutsen
58b5833d64
Convert Hue to use unique ID ( #30000 )
...
* Convert Hue to use unique ID
* Fix normalization
* Store/restore unique ID
* Fix tests
2019-12-16 19:45:09 +01:00
Paulus Schoutsen
d851cb6f9e
Add unique ID to config entries ( #29806 )
...
* Add unique ID to config entries
* Unload existing entries with same unique ID if flow with unique ID is
finished
* Remove unused exception
* Fix typing
* silence pylint
* Fix tests
* Add unique ID to Hue
* Address typing comment
* Tweaks to comments
* lint
2019-12-16 12:27:43 +01:00
Paulus Schoutsen
27244e29c4
Install discovery requirements if used ( #29795 )
...
* Install discovery requirements if used
* Update loader.py
* Fix types
2019-12-10 09:24:49 +01:00
springstan
009e4df6ef
Move imports to top for hue ( #29501 )
2019-12-05 13:19:50 +01:00
HomeAssistant Azure
a1a131334a
[ci skip] Translation update
2019-12-04 00:32:11 +00:00
Bram Kragten
d91dd68b31
Limit parallel requests to Philips Hue ( #29189 )
...
* Limit parallel requests to Philips Hue
* Fix tests
* Remove loop
* Update homeassistant/components/hue/bridge.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
2019-12-01 13:24:16 -08:00
Bram Kragten
2bdf7fc8f5
Fix Hue linking with non ASCII chars in location ( #29213 )
...
* Fix Hue linking with non ASCII chars in location
* Use slugify
2019-11-30 21:33:11 -08:00
Franck Nijhof
d5efd0b352
Fix Espalexa being detected as Hue Bridge ( #29237 )
2019-11-30 21:28:42 -08:00
HomeAssistant Azure
807de1aeb3
[ci skip] Translation update
2019-11-26 00:32:24 +00:00
HomeAssistant Azure
f170ac48d2
[ci skip] Translation update
2019-11-15 00:32:15 +00:00
Bram Kragten
66a574eca4
Hue: store current sensor entities by bridge ( #28679 )
2019-11-10 11:37:34 -08:00
Ville Skyttä
1679ec3245
SSDP matching improvements ( #28285 )
...
* SSDP matching improvements
- support multiple match groups per domain
- require matches on all, not any item in a group
- support matching on all UPnP device description data
* Manifest structure fixes
2019-11-02 12:30:09 -07:00
Bram Kragten
549e8cf2c5
Hue: Create new config flow when auth is lost ( #28204 )
...
* Hue: Create new config flow when auth is lost
* Fix tests
* Fix tests
* Comments
* Lint
2019-10-28 08:45:08 -07:00
Paulus Schoutsen
23289459ca
Update translations
2019-10-23 13:36:38 -07:00
javicalle
8bdec13bad
Move imports in hue component ( #28121 )
2019-10-22 22:58:57 -07:00
Bram Kragten
8e3d210818
Add remove function to hue sensors ( #27652 )
...
* Add remove function to sensors
* Fix + comments
* Update light.py
2019-10-18 15:41:11 -07:00
HomeAssistant Azure
d8e3255603
[ci skip] Translation update
2019-10-15 00:31:44 +00:00
HomeAssistant Azure
762a714d87
[ci skip] Translation update
2019-10-10 00:31:40 +00:00
Ville Skyttä
761d7f21e9
Upgrade pylint ( #27279 )
...
* Upgrade pylint to 2.4.2 and astroid to 2.3.1
https://pylint.readthedocs.io/en/latest/whatsnew/2.4.html
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-1
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-2
* unnecessary-comprehension fixes
* invalid-name fixes
* self-assigning-variable fixes
* Re-enable not-an-iterable
* used-before-assignment fix
* invalid-overridden-method fixes
* undefined-variable __class__ workarounds
https://github.com/PyCQA/pylint/issues/3090
* no-member false positive disabling
* Remove some no longer needed disables
* using-constant-test fix
* Disable import-outside-toplevel for now
* Disable some apparent no-value-for-parameter false positives
* invalid-overridden-method false positive disables
https://github.com/PyCQA/pylint/issues/3150
* Fix unintentional Entity.force_update override in AfterShipSensor
2019-10-07 08:17:39 -07:00
HomeAssistant Azure
2c6a869bc6
[ci skip] Translation update
2019-10-06 00:32:15 +00:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
HomeAssistant Azure
b04a70995e
[ci skip] Translation update
2019-09-27 00:32:12 +00:00
Bram Kragten
b75639d9d1
Remove lamps and groups from ha when removed from Hue ( #26881 )
...
* Remove light when removed from hue
* add remove_config_entry_id
* Review + bump aiohue
* lint
* Add tests
2019-09-25 14:00:18 -07:00
HomeAssistant Azure
771c674e90
[ci skip] Translation update
2019-09-17 00:32:14 +00:00
HomeAssistant Azure
0b1f389c76
[ci skip] Translation update
2019-09-07 00:32:45 +00:00
Franck Nijhof
f9edec19ad
Use literal string interpolation in integrations H-J (f-strings) ( #26380 )
2019-09-03 17:27:14 +02:00
Paulus Schoutsen
e69953fe2d
Update translations
2019-08-28 12:45:48 -07:00
Paulus Schoutsen
cf2d927f14
Use init_subclass for Config Entries ( #26059 )
...
* Use init_subclass for Config Entries
* Ignore type
2019-08-20 10:46:51 -07:00
Paulus Schoutsen
57ef721d5d
Hue tweak registered device type + discovery exception ( #25977 )
...
* Include location name in create user
* Guard against no host in context
* Fix tests and typing
2019-08-16 16:19:00 -07:00
Paulus Schoutsen
87119472a3
Update translations
2019-08-11 20:42:50 -07:00
Ville Skyttä
a54ade1189
Spelling fixes ( #25666 )
2019-08-02 23:20:06 +02:00
Paulus Schoutsen
37d78af42c
Add translations
2019-07-31 16:16:40 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
5f5c541f2f
Update translations
2019-07-10 10:50:50 -07:00