Marc Mueller
af002d9dc4
Use TriggerActionType [core, l-m] ( #76806 )
2022-08-15 17:39:55 +02:00
Jan Bouwhuis
161e533c5f
Remove MQTT climate support for hold and away modes ( #76299 )
...
Remove support for hold and away modes
2022-08-15 08:27:37 +02:00
Jan Bouwhuis
f72cfef7be
Fix MQTT camera encoding ( #76124 )
...
* Fix MQTT camera encoding
* Reduce code
* Add test for using image_encoding parameter
* Move deprecation check to validation
* Dependency
* Set correct strings and log warning
* Rename constant
* Use better issue string identifier
* Revert unwanted change to hassio test
* Avoid term `deprecated` in issue description
* Revert changes using the repairs API
* Add a notice when work-a-round will be removed
* Update homeassistant/components/mqtt/camera.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-08-15 08:26:17 +02:00
GitHub Action
bec8e544f4
[ci skip] Translation update
2022-08-14 00:25:47 +00:00
Marc Mueller
cf7c716bda
Fix implicit Optional [core] ( #76719 )
2022-08-13 18:46:08 +02:00
GitHub Action
6e03b12a93
[ci skip] Translation update
2022-08-13 00:25:00 +00:00
J. Nick Koston
eeb9a9f058
Make sure all discovery flows are using the helper ( #76641 )
2022-08-12 09:25:23 -04:00
GitHub Action
7c81f790a7
[ci skip] Translation update
2022-08-12 00:23:47 +00:00
GitHub Action
519d478d61
[ci skip] Translation update
2022-08-11 00:26:23 +00:00
epenet
c8f11d65d2
Improve type hints in demo and mqtt number entity ( #76464 )
2022-08-11 00:10:28 +02:00
Jan Bouwhuis
acaa20cabe
Improve MQTT warning message on illegal discovery topic ( #76545 )
2022-08-10 09:38:40 -04:00
GitHub Action
32a2999b85
[ci skip] Translation update
2022-08-06 00:24:46 +00:00
Jan Bouwhuis
741efb89d5
Remove deprecated `send_if_off` option for MQTT climate ( #76293 )
...
* Remove `send_if_off` option for mqtt climate
* Use cv.remove()
2022-08-05 13:17:46 +02:00
GitHub Action
81e3ef03f7
[ci skip] Translation update
2022-08-02 00:27:42 +00:00
GitHub Action
c4ad6d46ae
[ci skip] Translation update
2022-07-30 00:22:48 +00:00
Marc Mueller
2b617e3885
Improve mqtt MessageCallback typing ( #75614 )
...
* Improve mqtt MessageCallback typing
* Use MQTTMessage
2022-07-26 03:04:19 +02:00
Martin Hjelmare
c05905ebda
Remove callback decorator from coroutine functions ( #75626 )
...
* Remove callback decorator from coroutine functions
* Remove some more callback decorators
2022-07-22 19:09:02 +02:00
Erik Montnemery
9d0a252ca7
Improve handling of MQTT config entry data ( #72691 )
...
* Improve handling of MQTT config entry data
* Add test
* Add warning
* Adjust tests
2022-07-22 13:36:43 +02:00
Erik Montnemery
f0eea62c1e
Address some MQTT review comments ( #75482 )
2022-07-22 11:12:00 +02:00
GitHub Action
36138afb93
[ci skip] Translation update
2022-07-22 00:29:27 +00:00
Jan Bouwhuis
5ef92e5e95
Fix MQTT race awaiting an ACK when disconnecting ( #75117 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-07-20 11:58:54 +02:00
J. Nick Koston
666f715e76
Avoid importing MQTT into core for ServiceInfo dataclass ( #74418 )
...
* Avoid importing MQTT into core for discovery dataclass
Likely fixes #73863
* relo
* adjust
* rename
* rename
* rename
* adjust missed imports
* drop compat
* fix conflict correctly
* Update homeassistant/helpers/config_entry_flow.py
* fix black from trying to fix the conflict in github
2022-07-14 11:09:09 -05:00
GitHub Action
a3fd5acf3f
[ci skip] Translation update
2022-07-13 00:27:34 +00:00
Jan Bouwhuis
5930f056a8
Mqtt support config_entry unload ( #70149 )
...
* squashed commits for rebase
* Flake
* Fix reloading issue manual legacy items
* Improve ACS sync for unsubscribe at disconnect
* Processed review comments
* Update homeassistant/components/mqtt/client.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* No need to await entry setup
* Remove complication is_connected
* Update homeassistant/components/mqtt/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-07-12 11:07:18 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards ( #73806 )
2022-07-09 17:27:42 +02:00
epenet
64bfa20f6a
Improve type hints in mqtt ( #74295 )
2022-07-02 20:15:54 +03:00
epenet
8ef87205f9
Improve type hints in mqtt ( #74247 )
2022-06-30 21:11:45 +02:00
Erik Montnemery
f05b4a0ca0
Fire event_mqtt_reloaded only after reload is completed ( #74226 )
2022-06-30 10:15:25 -07:00
GitHub Action
721741281e
[ci skip] Translation update
2022-06-30 00:23:07 +00:00
epenet
b51ad16db9
Adjust button type hints in components ( #74132 )
2022-06-28 17:19:03 +02:00
epenet
dac8f242e0
Improve type hints in mqtt and template alarms ( #74101 )
2022-06-28 13:41:23 +02:00
epenet
8e1ec07f3d
Adjust type hints in component alarm methods ( #74092 )
...
* Adjust type hints in component alarm methods
* Undo related change
* Undo related change
2022-06-28 10:00:23 +02:00
epenet
10dc38e0ec
Adjust CoverEntity property type hints in components ( #73943 )
...
* Adjust CoverEntity property type hints in components
* Revert changes to rflink
* Revert changes to wilight
2022-06-25 11:59:56 +02:00
epenet
a92ab7a669
Adjust CoverEntity function type hints in components ( #73912 )
...
Adjust CoverEntity functions in components
2022-06-24 06:40:26 +02:00
epenet
3c82c718cb
Improve typing in fans and locks ( #73901 )
2022-06-23 16:34:40 +02:00
J. Nick Koston
2742bf86e3
Switch mqtt to use json helper ( #73871 )
...
* Switch mqtt to use json helper
* whitespace
2022-06-23 14:29:09 +02:00
epenet
48bd7cf5e1
Add missing ToggleEntity type hints in fans ( #73887 )
2022-06-23 12:01:05 +02:00
epenet
6b6e5fad3c
Add missing type hints in fans ( #73835 )
2022-06-22 18:43:41 +02:00
J. Nick Koston
19b2b33037
Speed up subscribing to mqtt topics on connect ( #73685 )
...
* Speed up subscribing to mqtt topics
* update tests
* Remove extra function wrapper
* Recover debug logging for subscriptions
* Small changes and test
* Update homeassistant/components/mqtt/client.py
* Update client.py
Co-authored-by: jbouwh <jan@jbsoft.nl>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-06-22 16:03:18 +02:00
Erik Montnemery
cd08f1d0c0
Don't attempt to reload MQTT device tracker ( #73577 )
2022-06-20 10:26:50 +02:00
Jan Bouwhuis
57daeaa174
Fix MQTT config schema to ensure correct validation ( #73619 )
...
* Ensure config schema validation
* Use correct schema for device_tracker
* Remove schema validation from the platform setup
* Remove loop to build schema
2022-06-20 08:51:12 +02:00
Erik Montnemery
dea8041461
Add device_class to MQTT number and migrate to native_value ( #73534 )
2022-06-16 13:34:54 +02:00
epenet
f8f1bfde21
Add lock typing in components ( #73539 )
...
* Add lock typing in components
* Revert freedompro amends
2022-06-15 15:23:36 +02:00
Jan Bouwhuis
48e3d68b53
Clean up MQTT platform entry setup at discovery ( #72371 )
...
* Setup MQTT discovery with entry setup
* Wait for entry setup in test
* flake
2022-06-13 13:38:53 +02:00
epenet
f846cd033f
Add async_get_options_flow type hints (mqtt) ( #73434 )
2022-06-13 13:35:50 +02:00
Erik Montnemery
de2fade8c6
Improve MQTT reload performance ( #73313 )
...
* Improve MQTT reload performance
* Update homeassistant/components/mqtt/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/mqtt/mixins.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/mqtt/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-10 14:23:08 +02:00
Erik Montnemery
3d78240cee
Fix initial tilt value of MQTT cover ( #73308 )
2022-06-10 11:11:40 +02:00
epenet
f91aa33c5f
Add FlowResultType enum to data entry flow ( #72955 )
2022-06-07 22:02:44 -07:00
Erik Montnemery
b97d346df7
Fix reload of MQTT yaml config ( #72901 )
2022-06-02 11:32:31 -07:00
Erik Montnemery
635d7085cf
Move MQTT config schemas and client to separate modules ( #71995 )
...
* Move MQTT config schemas and client to separate modules
* Update integrations depending on MQTT
2022-05-31 09:32:44 +02:00