Erik Montnemery
f3bd13d179
Fix regression in MQTT discovery ( #58684 )
...
* Fix regression in MQTT discovery
* Update test
2021-10-29 15:59:16 +02:00
Erik Montnemery
0456a896e3
Avoid service call in MQTT async_publish function ( #58441 )
...
* Avoid service call in MQTT async_publish function
* Tweak
* Fix integrations + tests
2021-10-28 08:13:32 +02:00
Erik Montnemery
41e14c4871
Correct changes in Allow extra keys in MQTT discovery messages ( #58534 )
2021-10-27 16:33:02 +02:00
Erik Montnemery
640a7fee9d
Allow extra keys in MQTT discovery messages ( #58390 )
...
* Allow extra keys in MQTT discovery messages
* Remove extra keys
2021-10-25 13:47:06 +02:00
epenet
a8a8b532d0
Use DeviceInfo in mqtt ( #58389 )
...
* Use DeviceInfo in mqtt
* Updates for mypy
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-25 13:46:09 +02:00
Franck Nijhof
027e167d95
Add support for unit of measurement in MQTT number platform ( #58343 )
2021-10-25 09:44:43 +02:00
Maciej Bieniek
0aa06d22f1
Move `configuration_url` abbreviation to MQTT `DEVICE_ABBREVIATIONS` const ( #58313 )
2021-10-24 11:35:46 +02:00
GitHub Action
f9d985553c
[ci skip] Translation update
2021-10-22 00:14:10 +00:00
Marc Mueller
487fa0a905
Use assignment expressions 20 ( #57969 )
2021-10-20 20:31:00 +02:00
Jan Bouwhuis
58569a58a9
MQTT Alarm control panel - Enable remote code validation ( #57764 )
...
* Enable remote code validation
* Update homeassistant/components/mqtt/alarm_control_panel.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-10-19 12:07:38 +02:00
Marc Mueller
4f8148f9ea
Use assignment expressions 07 ( #57787 )
2021-10-17 20:24:34 +02:00
GitHub Action
c76e15149c
[ci skip] Translation update
2021-10-17 00:12:27 +00:00
Erik Montnemery
1eebe45154
Add support for entity categories to MQTT entities ( #57656 )
...
* Add support for entity categories to MQTT entities
* Improve test
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/mqtt/mixins.py
Co-authored-by: Paul Monigatti <paulmonigatti@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Paul Monigatti <paulmonigatti@users.noreply.github.com>
2021-10-15 14:28:30 +02:00
Franck Nijhof
eed9f67402
Add service configuration URL to MQTT ( #57731 )
2021-10-14 18:27:40 -07:00
Jan Bouwhuis
879144b48d
MQTT rework constants ( #57529 )
...
* reference CONF_TOPIC to .const
* Organize common mqtt constants
2021-10-12 11:26:38 +02:00
GitHub Action
10b62370ff
[ci skip] Translation update
2021-10-12 00:12:28 +00:00
Jan Bouwhuis
a36a765352
Allow MQTT discovery availability shortcut ( #57479 )
...
* replace base in availability topic
* add tests for availability shortcuts - fix import
* group constants
* simplified loop
* Moving constants to .const
* rename value to topic
* move CONF_TOPIC to .const
* move CONF_AVAILABILITY to .const
* remove check for string
* Silently ignore if no config topic is found.
* CONF_TOPIC should be required
2021-10-11 23:37:31 +02:00
Erik Montnemery
7223c59e79
Allow resetting an MQTT number ( #57161 )
...
* Allow resetting an MQTT number
* Add abbreviation
2021-10-07 13:54:34 +02:00
GitHub Action
8fea54fff7
[ci skip] Translation update
2021-10-07 00:10:57 +00:00
Paulus Schoutsen
eb9b9c57a4
[ci skip] Translation update
2021-10-04 08:38:24 -07:00
GitHub Action
f42c2f5170
[ci skip] Translation update
2021-10-02 12:59:05 +00:00
Marc Mueller
364767ff22
Import Callable from collections.abc (4) ( #56778 )
2021-09-29 16:15:36 +02:00
Erik Montnemery
4d7e3cde5a
Minor cleanup and test coverage improvement for MQTT ( #55265 )
2021-09-27 17:45:52 +02:00
GitHub Action
9da3fa5d75
[ci skip] Translation update
2021-09-07 00:11:29 +00:00
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements ( #55402 )
...
* Make automation trigger info a TypedDict
* zwave_js trigger type hint fixes
* Remove redundant automation trigger info field presence checks
* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00
GitHub Action
19dcb19d07
[ci skip] Translation update
2021-09-04 00:13:17 +00:00
GitHub Action
368cac7e5d
[ci skip] Translation update
2021-08-31 00:17:01 +00:00
Erik Montnemery
18c03e2f8d
Fix race in MQTT sensor when last_reset_topic is configured ( #55463 )
2021-08-30 23:32:35 +02:00
Erik Montnemery
ed53bb1d91
Revert "Deprecate last_reset options in MQTT sensor" ( #55457 )
...
This reverts commit f9fa5fa804
.
2021-08-30 16:58:48 +02:00
GitHub Action
ea7f3c8bb3
[ci skip] Translation update
2021-08-30 00:11:40 +00:00
GitHub Action
291a2d6258
[ci skip] Translation update
2021-08-29 00:11:57 +00:00
GitHub Action
b0c52220bc
[ci skip] Translation update
2021-08-28 00:11:00 +00:00
Matthias Alphart
cd0ae66d58
Add CONF_STATE_CLASS to `sensor/__init__.py` ( #54106 )
...
* add CONF_STATE_CLASS to const.py
* move to `sensor/__init__.py`
* move to sensor/const.py
* Revert "move to sensor/const.py"
This reverts commit 604d0d066b
.
* move it to `sensor/const.py` but import it from `sensor/__init__.py`
* add Modbus
2021-08-27 05:54:50 +02:00
GitHub Action
65d14909ee
[ci skip] Translation update
2021-08-27 00:14:42 +00:00
Franck Nijhof
96303a1d80
Fix MQTT add-on discovery to be ignorable ( #55250 )
2021-08-26 11:14:42 +02:00
Erik Montnemery
3432efddaa
Remember state of MQTT availability topics when reconfiguring ( #55199 )
2021-08-25 12:23:42 +02:00
posixx
547ede1e91
Implementation of new Vacation mode for MQTT-based alarm panels ( #53561 )
...
* Impelentation of new Vacation Mode for MQTT-based alarm panels
* Fixed typo
* another typo fix
* Split integrations: remove manual_mqtt
* added newline
* Impelentation of new Vacation Mode for MQTT-based alarm panels
* Fixed typo
* another typo fix
* Split integrations: remove manual_mqtt
* added newline
* missing abbreviation
* Fix tests
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-24 13:22:49 +02:00
Jan Bouwhuis
5bb9aa8f3d
Remove MQTT Fan legacy speeds ( #54768 )
...
* Remove MQTT Fan legacy speeds
* deprecated attibutes are not disruptive
2021-08-24 11:21:35 +02:00
Ville Skyttä
0095c6baeb
Improve device trigger type hinting ( #54907 )
2021-08-22 20:32:50 +02:00
Erik Montnemery
f9fa5fa804
Deprecate last_reset options in MQTT sensor ( #54840 )
2021-08-18 20:22:01 +02:00
Erik Montnemery
2720ba2753
Move temperature conversions to sensor base class (4/8) ( #54472 )
...
* Move temperature conversions to entity base class (4/8)
* Fix litterrobot sensor
* Fix tests
2021-08-11 21:17:47 +02:00
J. Nick Koston
e99576c094
Pass width and height when requesting camera snapshot ( #53835 )
2021-08-10 19:33:06 -05:00
GitHub Action
390023a576
[ci skip] Translation update
2021-08-11 00:18:57 +00:00
GitHub Action
64c9f9e1cb
[ci skip] Translation update
2021-08-06 00:15:04 +00:00
Marc Mueller
0815eede4b
Replace lists with tuples (2) ( #53685 )
2021-07-30 01:20:03 +02:00
Maciej Bieniek
fb3b8b6686
Fix `last_reset_topic` config replaces `state_topic` for sensor platform ( #53677 )
2021-07-29 12:09:14 -07:00
Marc Mueller
10bfc78365
Fix missing encoding with open() ( #53593 )
...
* Fix missing encoding with open()
* Fix tests
* Improve open - frontend
2021-07-28 09:41:45 +02:00
GitHub Action
ecf0d4398d
[ci skip] Translation update
2021-07-22 00:10:31 +00:00
Franck Nijhof
4546e14674
Fix MQTT to allow setting an unknown Select state ( #53227 )
2021-07-21 10:02:07 +02:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00