Erik Montnemery and GitHub
f0b676607d
Bump hatasmota to 0.0.24 ( #42472 )
2020-10-27 23:01:13 +01:00
Erik Montnemery and GitHub
029963dfc2
Bump hatasmota to 0.0.23 ( #42394 )
2020-10-26 14:58:36 +01:00
Erik Montnemery and GitHub
bfb603fe78
Fix reconfiguring of Tasmota lights ( #42288 )
2020-10-24 14:31:08 +02:00
Erik Montnemery and GitHub
15f46392d2
Fix Tasmota CT light ( #42287 )
2020-10-24 14:29:26 +02:00
Erik Montnemery and GitHub
88231aa541
Fix Tasmota relay acting as on/off light ( #42259 )
2020-10-23 17:40:43 +02:00
Erik Montnemery and GitHub
b626df1316
Improve cast integration tests ( #42229 )
...
* Improve cast tests
* Address review comments
* Further cleanup of tests
2020-10-23 16:16:55 +02:00
Erik Montnemery and GitHub
de35d58fd4
Support reloading Tasmota config entries ( #42097 )
2020-10-23 01:22:51 +02:00
Erik Montnemery and GitHub
57cd3058d9
Always use shared zeroconf in cast config flow ( #42210 )
2020-10-22 17:47:19 +02:00
Erik Montnemery and GitHub
6194c382cb
Bump PAHO MQTT to 1.5.1 ( #42099 )
2020-10-22 10:08:19 +02:00
Erik Montnemery and GitHub
e203896638
Align MQTT light's default color temperature ( #41842 )
2020-10-21 15:46:29 +02:00
Erik Montnemery and GitHub
ec7f329807
Add support for Tasmota status sensor ( #41782 )
...
* Add sensor attributes, remove useless test.
* Fix tests
* Rework handling of sensor attributes
* Remove unused sensor attributes
* Hide status sensors
* Bump hatasmota to 0.0.19
* Use DEVICE_CLASS_SIGNAL_STRENGTH for WiFi signal sensor
* Improve test coverage
* Fix tests
2020-10-19 22:07:31 +02:00
Erik Montnemery and GitHub
515a6479a4
Bump hatasmota to 0.0.18 ( #42000 )
...
* Bump hatasmota to 0.0.17
* Bump hatasmota to 0.0.18
2020-10-18 00:00:28 +02:00
Erik Montnemery and GitHub
5d1b4f5c87
Bump pychromecast to 7.5.1 ( #41991 )
2020-10-17 11:22:58 -05:00
Erik Montnemery and GitHub
49b7f317ff
Fix Tasmota stale docstring + print level ( #41992 )
2020-10-17 13:07:21 +02:00
Erik Montnemery and GitHub
9e9f841f35
Add Tasmota device trigger ( #41590 )
...
* Add Tasmota device trigger
* Correct import
* Remove useless try-except
* Remove commented out code
* Align with hatasmota 0.0.14
* Update according to review comments
2020-10-16 08:16:07 +02:00
Erik Montnemery and GitHub
766a0032c9
Bump hatasmota to 0.0.16 ( #41902 )
2020-10-15 21:14:42 +02:00
Erik Montnemery and GitHub
042ce1cb92
Add Tasmota light ( #41485 )
2020-10-14 17:47:13 +02:00
Erik Montnemery and GitHub
7f9db59209
Bump hatasmota to 0.0.15 ( #41781 )
2020-10-13 18:53:18 +02:00
12a6d10168
Log exceptions in EntityPlatform.async_add_entities ( #41730 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-10-13 15:35:27 +02:00
Erik Montnemery and GitHub
f70aa0b5cc
Merge Tasmota sensor device class and icon maps ( #41706 )
2020-10-12 19:26:35 +02:00
Erik Montnemery and GitHub
cd21786536
Bump hatasmota to 0.0.13 ( #41705 )
...
* Bump hatasmota to 0.0.13
* Fix tests
2020-10-12 13:09:17 +02:00
84cb00bb4e
Add Tasmota sensor ( #41483 )
...
* Add Tasmota sensor
* Remove useless try-except
* Bump hatasmota to 0.0.11
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
* Sort dict constants
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-10-12 07:27:06 +02:00
Erik Montnemery and GitHub
35287828bc
Poll state when Tasmota device becomes available ( #41401 )
2020-10-08 11:17:23 +02:00
Erik Montnemery and GitHub
392d5c673a
Cache matching MQTT subscriptions ( #41433 )
2020-10-08 08:52:23 +02:00
Erik Montnemery and GitHub
85603dcd08
Remove useless try-except from Tasmota binary sensor ( #41462 )
2020-10-08 08:44:11 +02:00
Erik Montnemery and GitHub
a3f8b76537
Make async_step_discovery default for MQTT config flows ( #41414 )
2020-10-07 23:49:29 +02:00
343e5d64b8
Add MQTT integration discovery ( #41332 )
...
* Add MQTT integration discovery
* Add script/hassfest/mqtt.py
* Unsubscribe if config entry exists
* Add homeassistant/generated/mqtt.py
* Fix bad loop
* Improve tests
* Improve tests
* Apply suggestions from code review
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch >
* Prevent initiating multiple config flows
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch >
2020-10-07 18:30:51 +02:00
Erik Montnemery and GitHub
3f263d5cbe
Remove deprecated host & platform configuration for cast ( #41402 )
2020-10-07 18:01:34 +02:00
Erik Montnemery and GitHub
306ee30574
Enable MQTT discovery by default ( #41361 )
2020-10-07 14:51:06 +02:00
Erik Montnemery and GitHub
6e84f91762
Add Tasmota binary sensor ( #41380 )
2020-10-07 14:41:30 +02:00
Erik Montnemery and GitHub
42fb0e9545
Bump hatasmota to 0.0.10, minor refactor of discovery ( #41331 )
...
* Bump hatasmota to 0.0.10, minor refactor of discovery
* Update tests
* Add missing docstrings
2020-10-06 22:32:36 +02:00
06e9489fc7
Add Tasmota integration ( #39624 )
...
* Add Tasmota integration
* Refactor
* Add tests, small improvements
* isort
* Attempt to fix tests failing with Python 3.8
* Revert "Attempt to fix tests failing with Python 3.8"
This reverts commit 11454f8a00136f068ea27204183fa3e62f3cd263.
* Fix tests failing with Python 3.8
* Cleanup tests
* Address review comments
* Address review comments
* Address review comments
* Use MAC address for device identification
* Bump hatasmota
* Bump hatasmota
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Fix indentation
* Remove preparation for device remove WS API
* Address review comments
* Remove useless try-except
* Tweak
* Improve tests
* Tweak
* Address review comments
* Correct test
* Update manifest.json
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-10-06 14:51:58 +02:00
Erik Montnemery and GitHub
c777647233
Drop legacy_patchable_time from MQTT tests ( #41287 )
2020-10-05 21:39:44 +02:00
Erik Montnemery and GitHub
13dad34019
Reorder MQTT binary sensor tests ( #41277 )
2020-10-05 19:42:28 +02:00
Erik Montnemery and GitHub
e7f832a82f
Add MQTT tag scanner ( #40709 )
2020-09-28 22:04:27 +02:00
Erik Montnemery and GitHub
4cb118ca29
Bump pychromecast to 7.4.1 ( #40587 )
...
* Bump pychromecast to 7.4.0
* Bump pychromecast to 7.4.1
2020-09-26 09:15:09 +02:00
Erik Montnemery and Paulus Schoutsen
d35f06ac15
Get option flow defaults from yaml for non configured MQTT options ( #40177 )
2020-09-19 20:11:36 +00:00
Erik Montnemery and GitHub
a50f121011
Get option flow defaults from yaml for non configured MQTT options ( #40177 )
2020-09-19 22:10:01 +02:00
Erik Montnemery and Bram Kragten
e5c499c22e
Increase TIMEOUT_ACK to 2s ( #40080 )
2020-09-15 16:19:39 +02:00
Erik Montnemery and GitHub
0f3a2f1f29
Increase TIMEOUT_ACK to 2s ( #40080 )
2020-09-14 22:10:30 +02:00
Erik Montnemery and Paulus Schoutsen
6f8060dea7
Fix discovery update of MQTT state templates ( #39901 )
2020-09-10 18:53:25 +00:00
Erik Montnemery and GitHub
4d6e694d14
Fix discovery update of MQTT state templates ( #39901 )
2020-09-10 20:52:23 +02:00
Erik Montnemery and Paulus Schoutsen
c2f16cf21d
Fix MQTT light value template ( #39820 )
2020-09-08 21:18:02 +00:00
Erik Montnemery and GitHub
9aba1985c7
Fix MQTT light value template ( #39820 )
2020-09-08 23:11:42 +02:00
Erik Montnemery and GitHub
863b63d75e
Fix handling of device registry defaults ( #39688 )
2020-09-06 21:08:50 -05:00
Erik Montnemery and GitHub
4c6960ed36
Fix discovery update of MQTT light ( #39325 )
2020-09-02 10:52:33 +02:00
Erik Montnemery and GitHub
4e39a00b3d
Use boolean for mqtt fan state ( #39332 )
2020-08-27 21:04:58 +02:00
114a7226d6
Wait before sending MQTT birth message ( #39120 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2020-08-25 16:42:24 +02:00
Erik Montnemery and GitHub
b1c0d8fb6c
Minor cleanup of MQTT ACK handling ( #39217 )
2020-08-24 17:28:07 +02:00
Erik Montnemery and GitHub
3df67ff9e1
Fix race when waiting for MQTT ACK ( #39193 )
2020-08-24 11:13:12 +02:00
Erik Montnemery and GitHub
18047726b6
Remove ending period from cast log
2020-08-22 09:01:17 +02:00
91ba8c0ef0
Warn when casting of tts fails ( #38603 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2020-08-21 17:17:36 +02:00
Erik Montnemery and GitHub
ee043d8614
Wait for broker to ACK MQTT operations ( #39051 )
...
* Wait for broker to ACK MQTT operations
* Deduplicate new code
* Fix tests
* Improve test
* Don't hold PAHO lock when waiting for ACK
* Fix tests
* Add constant for ACK timeout
2020-08-21 17:00:13 +02:00
Erik Montnemery and Paulus Schoutsen
ecb7d7b992
Bump pychromecast to 7.2.1 ( #39018 )
2020-08-20 08:29:59 +00:00
Erik Montnemery and GitHub
14a3599c47
Bump pychromecast to 7.2.1 ( #39018 )
2020-08-18 23:43:38 +02:00
Erik Montnemery and GitHub
af9ae2e0a4
Allow empty cast media_player config ( #38971 )
2020-08-18 08:04:32 +02:00
Erik Montnemery and GitHub
7198a5647d
Make check-executables-have-shebangs manual ( #38980 )
2020-08-17 22:50:00 +02:00
Erik Montnemery and GitHub
4fa346278c
Enable PAHO MQTT client logging ( #38767 )
2020-08-11 22:54:41 +02:00
Erik Montnemery and Paulus Schoutsen
5bdeb46c12
Suppress MQTT discovery updates without changes ( #38568 )
2020-08-06 10:57:57 +00:00
Erik Montnemery and GitHub
4ed1f8023b
Suppress MQTT discovery updates without changes ( #38568 )
2020-08-06 10:43:47 +02:00
Erik Montnemery and GitHub
86e38a8467
Add missing MQTT strings ( #38513 )
2020-08-03 17:54:09 +02:00
Erik Montnemery and Paulus Schoutsen
abad6dfdd7
Bump pychromecast to 7.2.0 ( #38351 )
2020-08-01 01:59:43 +00:00
Erik Montnemery and GitHub
e3dc8a1ff2
Bump pychromecast to 7.2.0 ( #38351 )
2020-07-29 23:46:14 +02:00
Erik Montnemery and GitHub
686e6b8fc3
Add test ( #37890 )
2020-07-24 12:29:19 +02:00
Erik Montnemery and Franck Nijhof
9f12226b2b
Use keywords for MQTT birth and will ( #38040 )
2020-07-22 15:36:19 +02:00
Erik Montnemery and Franck Nijhof
d8d48b0a21
Correct arguments to MQTT will_set ( #38036 )
2020-07-22 15:36:16 +02:00
Erik Montnemery and GitHub
fa0e12ffe8
Use keywords for MQTT birth and will ( #38040 )
2020-07-21 14:10:34 -07:00
Erik Montnemery and GitHub
908b72370b
Correct arguments to MQTT will_set ( #38036 )
2020-07-21 12:36:21 -07:00
Erik Montnemery and Paulus Schoutsen
8409385fca
Bump pychromecast to 7.1.2 ( #37976 )
2020-07-20 00:35:18 +00:00
Erik Montnemery and GitHub
c994904e75
Bump pychromecast to 7.1.2 ( #37976 )
2020-07-19 12:36:59 +02:00
Erik Montnemery and GitHub
53d6f4948e
Adapt MQTT config flow to default birth and will ( #37875 )
2020-07-15 11:16:03 -07:00
Erik Montnemery and Paulus Schoutsen
502f0cd2ce
Fix MQTT availability startup race ( #37718 )
2020-07-14 01:10:42 +00:00
Erik Montnemery and Paulus Schoutsen
114fbb1278
Tweak MQTT availability ( #37719 )
2020-07-14 01:10:25 +00:00
Erik Montnemery and Paulus Schoutsen
5d26f5d01d
Support multiple MQTT availability topics ( #37418 )
...
* Support multiple MQTT availability topics
* Make availability list and availability_topic exclusive
* Make availability list and availability_topic exclusive
* Add missing abbreviation
2020-07-14 01:10:15 +00:00
Erik Montnemery and GitHub
b187b17a4f
Fix MQTT availability startup race ( #37718 )
2020-07-10 09:40:15 -07:00
Erik Montnemery and GitHub
383db60dff
Tweak MQTT availability ( #37719 )
2020-07-10 09:39:18 -07:00
Erik Montnemery and GitHub
fb3049d6a2
Set MQTT sensor to state unavailable when value expires ( #36609 )
2020-07-08 16:20:19 -07:00
Erik Montnemery and GitHub
550f9ba9b0
Modify cast tests to setup via cast integration ( #37256 )
...
* Improve tests
* Improve tests
* Don't start zeroconf from tests
2020-07-08 12:11:34 -07:00
Erik Montnemery and Paulus Schoutsen
050a558243
Fix base topic for 'topic' ( #37475 )
2020-07-06 22:19:57 +00:00
Erik Montnemery and GitHub
b826970b16
Fix base topic for 'topic' ( #37475 )
2020-07-06 15:17:13 -07:00
Erik Montnemery and GitHub
b63655057c
Publish birth and will messages by default ( #37371 )
...
* Publish birth and will messages by default
* Remove useless copy
2020-07-04 17:49:08 +02:00
Erik Montnemery and GitHub
4b3ad0a1cd
Support multiple MQTT availability topics ( #37418 )
...
* Support multiple MQTT availability topics
* Make availability list and availability_topic exclusive
* Make availability list and availability_topic exclusive
* Add missing abbreviation
2020-07-04 17:48:34 +02:00
Erik Montnemery and GitHub
9ade1de3d5
Support empty output of MQTT binary_sensor value_template ( #37420 )
...
* Support empty output of MQTT binary_sensor value_template
* Strip white space
* Add test
* Add test
2020-07-04 17:48:02 +02:00
Erik Montnemery and GitHub
ebcee2eb35
Fix geonetnz_quakes test flapping ( #37473 )
2020-07-04 17:42:28 +02:00
Erik Montnemery and Paulus Schoutsen
08ebc4ce62
Don't print MQTT credentials to log ( #37364 )
2020-07-03 22:42:50 +00:00
Erik Montnemery and GitHub
cd5f6a0c56
Don't print MQTT credentials to log ( #37364 )
2020-07-03 11:01:22 -07:00
Erik Montnemery and GitHub
86c27b50f1
Bump pychromecast to 7.0.1 ( #37225 )
...
* Bump pychromecast to 7.0.1
* Fix tests
* Mark configuration via platform for removal in 0.116
* Fix uuid check
2020-06-30 16:35:10 +02:00
Erik Montnemery and GitHub
bb17cbdd83
Drop MQTT broker tls_version parameter ( #37033 )
2020-06-23 12:12:37 -07:00
4e77969f5e
Drop use of mock_mqtt_component ( #37013 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-06-23 10:17:22 -07:00
Erik Montnemery and GitHub
1b3e5460a9
Remove embedded MQTT broker ( #37032 )
2020-06-23 09:51:50 -07:00
Erik Montnemery and GitHub
747490ab34
Support reconfiguring MQTT config entry ( #36537 )
2020-06-22 17:49:01 -07:00
Erik Montnemery and GitHub
280f49540e
Drop use of async_mock_mqtt_component ( #37011 )
2020-06-22 23:59:50 +02:00
Erik Montnemery and GitHub
a2e2c35011
Use pytest for more MQTT tests ( #36859 )
...
* Use pytest for more MQTT tests
* Address review comments
* Break out PAHO client mock in separate fixture.
* tweak.
2020-06-22 22:02:29 +02:00
Erik Montnemery and GitHub
16cf16e418
Update MQTT tests to not create duplicated config entries ( #36833 )
2020-06-15 15:38:56 -07:00
Erik Montnemery and GitHub
922b332766
Update config_entry_flow test test_user_has_confirmation ( #36633 )
...
* Update test_user_has_confirmation
* Rewrite test according to review comment
2020-06-13 06:43:13 +02:00
Erik Montnemery and GitHub
14bff5a375
Abort other config flows on import ( #36608 )
...
* Abort other flows on import
* Add test
2020-06-10 22:46:14 +02:00
Erik Montnemery and Paulus Schoutsen
c987ca735e
Bump pychromecast to 6.0.0 ( #36414 )
...
* Revert "Prevent race in pychromecast.start_discovery (#36350 )"
This reverts commit 391983a0cf .
* Adapt to pychromecast 6.0.0
2020-06-07 17:24:40 -07:00
Erik Montnemery and GitHub
35cd6b9abf
Remove unused parameter for MQTT discovery ( #36526 )
...
* Remove unused parameter for MQTT discovery
* Fix tests
2020-06-07 19:35:35 +02:00
Erik Montnemery and GitHub
f170c80bea
Bump pychromecast to 6.0.0 ( #36414 )
...
* Revert "Prevent race in pychromecast.start_discovery (#36350 )"
This reverts commit 391983a0cf .
* Adapt to pychromecast 6.0.0
2020-06-04 20:32:00 +02:00
Erik Montnemery and GitHub
7722e417ad
Stable device id when a deleted device is restored ( #36309 )
...
* Stable device id when a deleted device is restored.
* Tweak
* Store only basic data for deleted devices
* Simplify code
* Simplify code
* Address review comments.
* Improve test
* Fix missing save
2020-06-02 21:22:08 +02:00