Franck Nijhof
560dd0a0cc
Typing improvements for TPLink ( #50947 )
...
* Typing improvements for TPLink
* Update homeassistant/components/tplink/common.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-22 13:47:26 +01:00
Michael
9eecd90afc
Add constructor return type in integrations T-Z ( #50899 )
2021-05-20 17:00:19 +02:00
J. Nick Koston
a74aa9272c
Add dhcp discovery to tplink ( #50303 )
2021-05-09 10:03:41 -05:00
gabrialdestruir
f814a7a8ae
Add tplink light setting ignore default ( #50334 )
...
This fixes issue #50115 by allowing color, brightness, and temperature to be set from an off state. This adds code to allow "ignore_default=1" to be sent to bulb letting it know to power on with the parameters set.
2021-05-09 16:27:49 +02:00
J. Nick Koston
4853fb7966
Fix tplink unloading when no switches are present ( #50301 )
2021-05-08 19:20:22 +02:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
J. Nick Koston
4b74c57285
Reduce config entry setup/unload boilerplate T-U ( #49786 )
2021-04-27 22:19:57 +02:00
Bram Kragten
b00ccf98f0
TP Link: Don't report HS when in CT mode ( #49704 )
...
* TP Link: Don't report HS when in CT mode
* Update tests
2021-04-27 11:19:21 +02:00
jan iversen
6992e24263
Rename HomeAssistantType —> HomeAssistant, integrations t* - v* ( #49544 )
...
* Integration vizio: HomeAssistantType -> HomeAssistant.
* Integration velbus: HomeAssistantType -> HomeAssistant.
* Integration vacuum: HomeAssistantType -> HomeAssistant.
* Integration upnp: HomeAssistantType -> HomeAssistant.
* Integration upcloud: HomeAssistantType -> HomeAssistant.
* Integration twinkly: HomeAssistantType -> HomeAssistant.
* Integration tts: HomeAssistantType -> HomeAssistant.
* Integration tradfri: HomeAssistantType -> HomeAssistant.
* Integration traccar: HomeAssistantType -> HomeAssistant.
* Integration tplink: HomeAssistantType -> HomeAssistant.
2021-04-22 10:53:57 -04:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Philip Allgaier
f1c4072d3c
Return TP-Link sensor & light attributes as `float` rather than `string` ( #48828 )
2021-04-08 16:51:59 +02:00
Mario Limonciello
9fd6980144
Avoid divide by zero errors in tplink light integration ( #48235 )
2021-03-31 17:16:24 +02:00
Franck Nijhof
8d5ce53098
Merge of nested IF-IF cases - S-W ( #48372 )
2021-03-27 10:54:59 +01:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
Marc Mueller
b67b9b94f9
Update typing 13 ( #48077 )
2021-03-18 14:43:52 +01:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() ( #47760 )
2021-03-11 20:16:26 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
Teemu R
183154c017
Bump pyhs100 dependency to fix hs220 discoverability issues ( #43619 )
...
Fixes #39395
2020-11-25 08:21:48 +01:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
Angelo Gagliano
d42bdcfc2a
Move async_add_entities back to event loop for tplink component ( #42454 )
2020-10-28 09:51:53 +01:00
Angelo Gagliano
34283ac283
Add retry for unavailable static tplink devices after HA starts ( #42247 )
2020-10-27 10:02:16 +01:00
HomeAssistant Azure
ed232ac733
[ci skip] Translation update
2020-10-24 00:05:17 +00:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
HomeAssistant Azure
ba55cb8955
[ci skip] Translation update
2020-10-14 00:04:41 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
Angelo Gagliano
874e1f6103
Prevent tplink missing devices and unavailable state ( #39762 )
...
* Adds self to codeowners for tplink
* Adds retry to update to prevent missing devices
* Runs through isort and corrects async commit
* Runs through black
* Runs through pre-checks
* Corrects and matches var names
* Re-runs through black
* Corrects var name
* Removes the retry loop and in favor of async add
* Cleanup imports
* Removes no longer valid test
* Removes is_ready and only log retry once
* Corrects switch logging vars
* Adds list of entities to add_entities
* Consumes exception for attempt_update
* Consumes specific exception
* Removes unnecessary update
* Reducing back to 2 seconds
* Removes useless return
* Call get_sysinfo for all at once
* Formated black
* Adds missing docstirng
* Corrects docstring
* Update homeassistant/components/tplink/light.py
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
* Corrects sysinfo call
* Adds default for host vars
* Adds log when device responds again
* Revert host alias default
* Removes unncessary host var
* Removes host var
* Get device details from sysinfo
* Use host and alias for log msg
* Gets hosts from smartbulb
* Changes retry logging to debug
* Attempts coverage add
* Removes unused import
* Updates tests for new retry
* Runs through isort
* Removes unneeded try
* Prevents static entries from failing integration
* Format black
* Forces an update after turn on off
* Remove common test
* Revert update after turn_on off
* Adds patch for sleep_time 0
* Returns False when update fails
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-10-11 21:10:36 +02:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
HomeAssistant Azure
f8c2d877aa
[ci skip] Translation update
2020-10-04 00:05:05 +00:00
HomeAssistant Azure
81c6d48cb4
[ci skip] Translation update
2020-10-02 00:05:51 +00:00
epenet
1d138f0773
Use common string in TPLink config flow ( #40958 )
2020-10-01 13:38:59 +02:00
Greg Badros
94dfb66824
Make tplink SmartStrip communication more robust ( #40281 )
2020-09-19 04:48:19 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Paulus Schoutsen
690579749e
Bump pyHS100 to 3.5.1 ( #37749 )
2020-07-11 18:02:08 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
HomeAssistant Azure
b15caf31a9
[ci skip] Translation update
2020-06-15 00:03:32 +00:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
HomeAssistant Azure
90e0a1af8a
[ci skip] Translation update
2020-04-26 00:02:45 +00:00
Paulus Schoutsen
e002c84eba
Don't set step title if it's integration title ( #34524 )
2020-04-22 15:05:39 +02:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00