Erik Montnemery
5e472f2c06
Improve typing of Tasmota (1/3) ( #52746 )
2021-07-12 20:14:03 +02:00
Erik Montnemery
4d32e1ed01
Minor improvements of MQTT typing ( #52578 )
...
* Minor improvements of MQTT typing
* Tweak
2021-07-06 14:38:48 +02:00
Erik Montnemery
79ee112490
Enable basic type checking for mqtt ( #52463 )
...
* Enable basic type checking for mqtt
* Tweak
2021-07-05 10:33:12 +02:00
GitHub Action
abc9b01ede
[ci skip] Translation update
2021-07-05 00:09:10 +00:00
GitHub Action
378b5f75ec
[ci skip] Translation update
2021-07-04 00:09:33 +00:00
Erik Montnemery
520b500165
Fix MQTT cover optimistic mode ( #52392 )
...
* Fix MQTT cover optimistic mode
* Add test
2021-07-01 17:34:59 +02:00
Erik Montnemery
b77f2b9e12
Filter MQTT camera JSON attributes ( #52279 )
...
* Filter MQTT camera JSON attributes
* Add missing attribute to blocked list
2021-06-29 12:14:02 +02:00
Erik Montnemery
39a064683a
Filter MQTT cover JSON attributes ( #52282 )
2021-06-29 11:59:23 +02:00
Erik Montnemery
a7dd7c1a3d
Filter MQTT select JSON attributes ( #52288 )
2021-06-29 11:22:58 +02:00
Erik Montnemery
74e61ab7f7
Filter MQTT switch JSON attributes ( #52290 )
2021-06-29 11:22:25 +02:00
Erik Montnemery
de4cfb0ce2
Filter MQTT vacuum JSON attributes ( #52291 )
2021-06-29 11:21:22 +02:00
Erik Montnemery
61f7f5c96a
Filter MQTT sensor JSON attributes ( #52289 )
2021-06-29 11:19:40 +02:00
Erik Montnemery
e0f7987544
Filter MQTT fan JSON attributes ( #52283 )
2021-06-29 11:18:50 +02:00
Erik Montnemery
71a0e474cc
Filter MQTT number JSON attributes ( #52286 )
2021-06-29 11:16:57 +02:00
Erik Montnemery
3b89fcfe83
Filter MQTT lock JSON attributes ( #52285 )
2021-06-29 11:16:07 +02:00
Erik Montnemery
040c88f982
Filter MQTT climate JSON attributes ( #52280 )
2021-06-29 11:13:58 +02:00
Erik Montnemery
91b4f7d1d5
Filter MQTT alarm JSON attributes ( #52278 )
2021-06-29 10:32:23 +02:00
Erik Montnemery
7a4f3fe7b8
Filter MQTT light JSON attributes ( #52242 )
2021-06-28 14:37:26 +02:00
Erik Montnemery
e14480599b
Add value_template support to MQTT number ( #52155 )
2021-06-28 10:23:34 +02:00
Erik Montnemery
4533a77597
Add MQTT select ( #52120 )
...
* Add MQTT select
* Fix value_template support
* Lint
2021-06-24 17:09:06 +02:00
Erik Montnemery
04c9665241
Filter MQTT JSON attributes ( #52076 )
...
* Filter JSON attributes
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Refactor, add tests
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-24 16:22:54 +02:00
Erik Montnemery
2351f2d95e
Warn when receiving message on illegal MQTT discovery topic ( #52106 )
...
* Warn when receiving message on illegal MQTT discovery topic
* Fix test
2021-06-23 15:53:17 +02:00
Erik Montnemery
80ae346318
Pass the hass object to all MQTT component constructors ( #52124 )
2021-06-23 15:44:18 +02:00
Erik Montnemery
77de233679
Update MQTT number to treat received payload as UTF-8 ( #52121 )
...
* Update MQTT number to treat received payload as UTF-8
* Lint
2021-06-23 15:35:18 +02:00
Erik Montnemery
52c142a82d
Add support for color_mode white to MQTT light basic schema ( #51484 )
...
* Add support for color_mode white to MQTT light basic schema
* Add missing abbreviations
2021-06-22 11:59:20 +02:00
Erik Montnemery
4c9f12b9c5
Correct trace path for trigger with custom id ( #51847 )
2021-06-14 17:09:20 +02:00
Erik Montnemery
49bec86dae
Add base schema for triggers ( #51727 )
...
* Add base schema for triggers
* Tweak
* Make TRIGGER_BASE_SCHEMA a voluptuous schema
* Make state trigger BASE_SCHEMA a voluptuous schema
2021-06-11 09:51:12 +02:00
Erik Montnemery
76c3058d15
Rename device trigger base schema to DEVICE_TRIGGER_BASE_SCHEMA ( #51719 )
2021-06-10 19:11:38 +02:00
Erik Montnemery
9097f41219
Correct comment in MQTT fan ( #51682 )
2021-06-10 08:18:59 +02:00
Erik Montnemery
a4587b5f3b
Deprecate support for undocumented value_template in MQTT light ( #51589 )
2021-06-08 08:23:51 +02:00
Erik Montnemery
4e5ec26ce6
Remove value_template from MQTT_RW_PLATFORM_SCHEMA ( #51590 )
2021-06-08 08:23:35 +02:00
Erik Montnemery
76edfe6c62
Fix deprecated value_template for MQTT light ( #51587 )
2021-06-07 14:14:42 -07:00
GitHub Action
7615af35d8
[ci skip] Translation update
2021-06-07 00:18:16 +00:00
GitHub Action
c81df50191
[ci skip] Translation update
2021-06-06 00:19:43 +00:00
Ville Skyttä
c2f5dcefa5
Use flow result type constants more ( #51122 )
2021-05-29 14:09:13 +02:00
Paulus Schoutsen
bcd91cc2bd
Drop certificate filling in for cloudmqtt ( #51112 )
2021-05-26 09:31:35 -07:00
Massimiliano Cannarozzo
5a5a145778
Make all MQTT cover payloads optional ( #50579 )
...
* Remove unused constant
* Make payload_close optional
* Make payload_open optional
* Compute supported features based on config
2021-05-26 13:50:44 +03:00
Erik Montnemery
789a14fc44
Add support for last_reset to MQTT sensor ( #51036 )
...
* Add support for last_reset to MQTT sensor
* Update abbreviations
* Improve test coverage
2021-05-26 11:50:29 +02:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Erik Montnemery
870c61a622
Add color_mode support to MQTT light with basic schema ( #50464 )
...
* Add color_mode support to MQTT light with basic schema
* Update abbreviations
* Silence pylint
* Improve test coverage
* Apply suggestions from code review
2021-05-24 11:37:02 +02:00
Erik Montnemery
dc65f279a7
Add support for state_class to MQTT sensor ( #50927 )
2021-05-21 17:37:26 +02:00
Shay Levy
6e087039f4
Add min/max/step to MQTT number ( #50869 )
2021-05-21 18:35:27 +03:00
Erik Montnemery
d4d335fb9c
Fix MQTT debug info for removed triggers ( #50859 )
2021-05-20 10:27:38 +03:00
Michael Klamminger
7c7432a582
Add entity_id to mqtt sensor templates ( #50773 )
...
* Add entity_id to mqtt sensor
* update test comment
2021-05-19 14:38:18 +02:00
Shay Levy
109b08bb57
Remove MQTT cover deprecated options ( #50263 )
...
* Remove MQTT cover deprecated options
* Fix pylint
2021-05-19 14:34:20 +02:00
Jan Bouwhuis
9abf43f95f
Mqtt fan feature for resetting current speed `percentage` or `preset_mode` ( #50565 )
...
* Mqtt fan resetting speed percentage or preset_mode
* tests reset payload is working with val templates
* Remove duplicate line for CONF_PAYLOAD_HIGH_SPEED
2021-05-18 08:24:42 +02:00
Erik Montnemery
9e681cd214
Refactor MQTT basic light pt5: Add RGB color helpers ( #50780 )
...
* Refactor MQTT basic light pt5: Add RGB color helpers
* Revert change of rounding instead of truncating RGB
2021-05-17 23:50:12 +02:00
Michael Klamminger
3554316f3f
Update MQTT cover template handling ( #50236 )
...
* flake 8
* Implement feedback from PR
* update warning message
* added and updated tests
* remove _has_tilt_topic variable
* flake 8
* Implement feedback from PR
* update warning message
* added and updated tests
* remove _has_tilt_topic variable
* renamed _tilt_message_received to _tilt_payload_received
* merged with latesed upstream/dev
* converted if to try except for type check
* Implemented the suggestions of @emontnemery
* Tweak tests
* logger info to debug
Co-authored-by: Shay Levy <levyshay1@gmail.com>
* cast tilt payload as int; combine exceptions to one line
* Add test for JSONDecodeError
* Update homeassistant/components/mqtt/cover.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-17 19:31:11 +02:00
Erik Montnemery
848ab5c2bc
Deduplicate code in MQTT basic light pt4: Add set_optimistic helper ( #50774 )
2021-05-17 16:28:30 +02:00
Erik Montnemery
8c6f4a8c71
Refactor MQTT basic light pt3: Add publish helper ( #50767 )
2021-05-17 14:54:19 +02:00