springstan
20f8bcc908
Use common strings in mqtt config flow ( #40956 )
2020-10-01 14:55:45 +02:00
J. Nick Koston
a11fd08d20
Create MQTTMatcher once per subscription instead of each message ( #40345 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-30 17:18:43 +02:00
Franck Nijhof
a2d2b7842d
Upgrade paho-mqtt to 1.5.1 ( #40703 )
2020-09-29 18:12:45 +02:00
Erik Montnemery
e7f832a82f
Add MQTT tag scanner ( #40709 )
2020-09-28 22:04:27 +02:00
HomeAssistant Azure
2b00d28af9
[ci skip] Translation update
2020-09-27 00:06:49 +00:00
HomeAssistant Azure
c30982c981
[ci skip] Translation update
2020-09-25 00:04:29 +00:00
springstan
62054b8433
Correct label in mqtt config flow ( #40507 )
2020-09-23 21:55:33 +02:00
HomeAssistant Azure
75659ff787
[ci skip] Translation update
2020-09-23 00:05:01 +00:00
HomeAssistant Azure
587e3f1eb2
[ci skip] Translation update
2020-09-21 00:02:47 +00:00
Erik Montnemery
a50f121011
Get option flow defaults from yaml for non configured MQTT options ( #40177 )
2020-09-19 22:10:01 +02:00
springstan
a13c4d4c17
Increase TIMEOUT_ACK to 10s ( #40117 )
2020-09-16 08:14:11 +02:00
HomeAssistant Azure
f28b7f2187
[ci skip] Translation update
2020-09-16 00:09:01 +00:00
Erik Montnemery
0f3a2f1f29
Increase TIMEOUT_ACK to 2s ( #40080 )
2020-09-14 22:10:30 +02:00
Erik Montnemery
4d6e694d14
Fix discovery update of MQTT state templates ( #39901 )
2020-09-10 20:52:23 +02:00
Erik Montnemery
9aba1985c7
Fix MQTT light value template ( #39820 )
2020-09-08 23:11:42 +02:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
HomeAssistant Azure
bfd6989c75
[ci skip] Translation update
2020-09-04 00:04:26 +00:00
J. Nick Koston
65e53b8251
Support reloading mqtt yaml configuration ( #39531 )
2020-09-02 20:16:21 -05:00
Erik Montnemery
4c6960ed36
Fix discovery update of MQTT light ( #39325 )
2020-09-02 10:52:33 +02:00
HomeAssistant Azure
989a040b67
[ci skip] Translation update
2020-08-29 00:03:59 +00:00
Phil Bruckner
e6141ae558
Add description of what caused an automation trigger to fire ( #39251 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-28 17:02:12 +02:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Erik Montnemery
4e39a00b3d
Use boolean for mqtt fan state ( #39332 )
2020-08-27 21:04:58 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Erik Montnemery
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
b1c0d8fb6c
Minor cleanup of MQTT ACK handling ( #39217 )
2020-08-24 17:28:07 +02:00
Erik Montnemery
3df67ff9e1
Fix race when waiting for MQTT ACK ( #39193 )
2020-08-24 11:13:12 +02:00
Erik Montnemery
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
kbickar
2ec546db3d
Fix for exception when checking if fan without speed is on ( #39096 )
...
* Fix for exception when checking if fan without speed is on
* Organized imports
* Space
2020-08-21 08:20:28 -06:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code ( #38655 )
2020-08-17 11:54:56 -05:00
Erik Montnemery
4fa346278c
Enable PAHO MQTT client logging ( #38767 )
2020-08-11 22:54:41 +02:00
Michaël Arnauts
d7d7ee6524
Use global CONF_UNIQUE_ID for mqtt ( #38595 )
...
* Use global CONF_UNIQUE_ID for mqtt
* Update __init__.py
* Update __init__.py
* Update __init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-09 16:00:14 -05:00
Erik Montnemery
4ed1f8023b
Suppress MQTT discovery updates without changes ( #38568 )
2020-08-06 10:43:47 +02:00
HomeAssistant Azure
e32a57ce48
[ci skip] Translation update
2020-08-06 00:02:06 +00:00
HomeAssistant Azure
e76db60367
[ci skip] Translation update
2020-08-05 00:02:19 +00:00
Erik Montnemery
86e38a8467
Add missing MQTT strings ( #38513 )
2020-08-03 17:54:09 +02:00
HomeAssistant Azure
8abdc2c969
[ci skip] Translation update
2020-07-27 00:02:58 +00:00
Erik Montnemery
fa0e12ffe8
Use keywords for MQTT birth and will ( #38040 )
2020-07-21 14:10:34 -07:00
Erik Montnemery
908b72370b
Correct arguments to MQTT will_set ( #38036 )
2020-07-21 12:36:21 -07:00
HomeAssistant Azure
83d4e5bbb7
[ci skip] Translation update
2020-07-21 00:03:00 +00:00
Erik Montnemery
53d6f4948e
Adapt MQTT config flow to default birth and will ( #37875 )
2020-07-15 11:16:03 -07:00
Ville Skyttä
ac0dbb17af
Attrs cleanups ( #37849 )
2020-07-14 10:30:30 -07:00
HomeAssistant Azure
aabf0dab88
[ci skip] Translation update
2020-07-14 00:03:03 +00:00
HomeAssistant Azure
d3b47b6d89
[ci skip] Translation update
2020-07-13 00:02:52 +00:00
Erik Montnemery
b187b17a4f
Fix MQTT availability startup race ( #37718 )
2020-07-10 09:40:15 -07:00
Erik Montnemery
383db60dff
Tweak MQTT availability ( #37719 )
2020-07-10 09:39:18 -07:00
HomeAssistant Azure
251a1d6619
[ci skip] Translation update
2020-07-09 00:05:04 +00:00
Erik Montnemery
fb3049d6a2
Set MQTT sensor to state unavailable when value expires ( #36609 )
2020-07-08 16:20:19 -07:00
HomeAssistant Azure
0426b70046
[ci skip] Translation update
2020-07-07 00:17:49 +00:00