GitHub Action
c76e15149c
[ci skip] Translation update
2021-10-17 00:12:27 +00:00
GitHub Action
10b62370ff
[ci skip] Translation update
2021-10-12 00:12:28 +00:00
J. Nick Koston
6c470ac28b
Add dhcp support for tplink KP401 ( #57456 )
2021-10-11 17:15:31 +02:00
J. Nick Koston
5b3711ed19
Use switch format unique ids for tplink dimmers ( #57346 )
2021-10-10 00:02:33 -07:00
J. Nick Koston
e77fae56d9
Migrate tplink hosts that were previously imported from yaml ( #57308 )
2021-10-08 08:58:18 -07:00
Teemu R
8fb0da7720
Stopgap fix for inconsistent upstream API of tplink dimmers ( #57285 )
2021-10-07 20:15:13 -07:00
Teemu R
36a22400e5
Fix transition handling for tplink lights ( #57272 )
...
* Fix transition handling for tplink light
* Apply suggestions from code review
* Test that all transitions are passed correctly
* Fix linting
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-10-08 00:20:26 +02:00
J. Nick Koston
ac3741df41
Fix RGB only (no color temp) devices with tplink ( #57267 )
2021-10-07 10:14:14 -10:00
J. Nick Koston
a2dcc0308b
Discover tplink devices periodically ( #57221 )
...
- These devices sometimes do not respond on the first try
or may be subject to transient broadcast failures, or
overloads. We now try discovery periodically once the
integration has been loaded.
- We used to try this 4x at startup, but that solution
seemed to aggressive as we want to be sure we pickup
the devices after startup as well since the network
will likely be more calm after startup.
2021-10-07 17:52:24 +02:00
GitHub Action
8fea54fff7
[ci skip] Translation update
2021-10-07 00:10:57 +00:00
J. Nick Koston
19d54399c2
Add DHCP support for TPLink KP400 ( #57023 )
2021-10-04 02:40:27 +02:00
J. Nick Koston
4c51d0d2cf
Round tplink energy sensors to prevent insignificant updates ( #56999 )
...
- These sensors wobble quite a bit and the precision did
not have sensible limits which generated a massive amount
of data in the database which was not very useful
2021-10-03 21:28:39 +02:00
GitHub Action
06602e6cc5
[ci skip] Translation update
2021-10-03 00:13:50 +00:00
J. Nick Koston
2f35cadba7
Add dhcp discovery for TPLink EP10 ( #56955 )
2021-10-02 13:53:37 -07:00
GitHub Action
f42c2f5170
[ci skip] Translation update
2021-10-02 12:59:05 +00:00
J. Nick Koston
da3cc25234
Add DHCP support for TPLink KL430, KP115 ( #56932 )
2021-10-02 10:19:11 +02:00
J. Nick Koston
bc59387437
Explictly close the TPLink SmartDevice protocol on unload ( #56743 )
...
* Explictly close the TPLink SmartDevice protocol on unload
- There is a destructor that will eventually do this when
the object gets gc. Its better to explictly do it at
unload.
* fix coro mock
2021-09-28 18:36:45 +02:00
J. Nick Koston
c95f7a5ba6
Add network support to tplink for discovery across subnets ( #56721 )
2021-09-28 09:58:25 -05:00
J. Nick Koston
aea754df5d
Add dhcp support for TPLink KL60 and EP40 ( #56726 )
2021-09-27 22:45:53 -05:00
Teemu R
b40d229369
Rework TPLink integration to use python-kasa ( #56701 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-27 14:11:55 -05:00
GitHub Action
f8ebc31576
[ci skip] Translation update
2021-09-05 00:11:36 +00:00
Michael
0dc8fb497b
Delay state update after switch is toggled for TP-Link HS210 device ( #55671 )
...
* delay state update for HS210
* Update workaround comment
2021-09-04 03:01:48 +02:00
Marc Mueller
7461af68b9
Use NamedTuple for color temperature range ( #55626 )
2021-09-03 17:41:32 +02:00
GitHub Action
65d14909ee
[ci skip] Translation update
2021-08-27 00:14:42 +00:00
Erik Montnemery
2fa07777cd
Warn if unit_of_measurement is set on instances of SensorEntityDescription ( #54867 )
...
* Add class BaseEntityDescription without unit_of_measurement
* Refactor according to review comments
* Tweak
* Fix offending integrations
* Fix offending integrations
2021-08-20 15:54:57 +02:00
Teemu R
3bc45eacfc
Fix tplink doing I/O in event loop and optimize ( #54570 )
...
* Optimize tplink i/o
* Cache has_emeter reduceing the number of i/o requests on hs300 by 5
* Use the state from the sysinfo dict for non-strips reducing required requests by one
* Remove I/O from __init__, read has_emeter from sysinfo
* Cleanup __init__ to avoid I/O
* Re-use the sysinfo response for has_emeter
* Use async_add_executor_job() to execute the synchronous I/O ops.
* use the device alias instead of host for coordinator, use executor for unavailable_devices
* Remove unnecessary self.hass assignment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-18 01:29:40 +02:00
Michael
684d035969
Use state class total increasing for TPLink smart plugs ( #54723 )
2021-08-16 23:54:11 +02:00
Erik Montnemery
87e7a8fb5f
Move temperature conversions to sensor base class - new integrations ( #54623 )
...
* Move temperature conversions to sensor base class
* Tweaks
* Update pvpc_hourly_pricing
* Fix flipr sensor
* Fix ezviz and youless sensor
2021-08-15 08:51:43 +02:00
Michael
b2725918b1
Fix TP-Link smart strip devices ( #53799 )
2021-08-02 09:47:54 -07:00
GitHub Action
8c5620e74b
[ci skip] Translation update
2021-08-02 03:40:04 +00:00
Michael
da1a9bcbf0
Do not block setup of TP-Link when device unreachable ( #53770 )
2021-08-01 14:58:55 -07:00
Michael
692665e46c
Apply left suggestions #53596 for TP-Link ( #53737 )
2021-07-29 22:11:15 -07:00
Michael
45e4f80cfe
Fix exception handling in DataUpdateCoordinator in TP-Link ( #53734 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-07-29 21:18:09 -07:00
Michael
bedb9550f5
Move TP-Link power and energy switch attributes to sensors ( #53596 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-07-29 11:02:47 -07:00
GitHub Action
ecf0d4398d
[ci skip] Translation update
2021-07-22 00:10:31 +00:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00
GitHub Action
531733da7b
[ci skip] Translation update
2021-07-19 00:09:50 +00:00
Teemu R
6afa4d6914
Skip updating tplink bulb state if the new state not reported by the device ( #52310 )
2021-06-29 19:14:34 +02:00
Appleguru
8d8af60b1d
Add retries for tplink discovery ( #52015 )
...
* Add retries for tplink discovery
* Black Format tplink common.py
* Exit tplink discovery early if all devices found
* Fix typo in tplink retry log msg
* Code style cleanup for tplink retries
* Update homeassistant/components/tplink/common.py
Co-authored-by: Teemu R. <tpr@iki.fi>
* Fix linting errors for tplink retries
Co-authored-by: Teemu R. <tpr@iki.fi>
2021-06-25 23:49:35 +02:00
tkdrob
c0656878db
Normalize async_setup_entry ( #51161 )
2021-05-27 15:56:20 +02:00
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