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
Erik Montnemery
b36021b4fd
Deduplicate code in MQTT basic light pt2: Add restore_state helper ( #50766 )
...
* Refactor MQTT basic light pt2: Add restore_state helper
* Update homeassistant/components/mqtt/light/schema_basic.py
Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-17 14:53:48 +02:00
Erik Montnemery
3ab14d452c
Refactor MQTT basic light pt1: Add add_topic helper ( #50759 )
2021-05-17 12:50:54 +02:00
GitHub Action
877cb43c06
[ci skip] Translation update
2021-05-17 05:17:18 +00:00
HomeAssistant Azure
7df47664e8
[ci skip] Translation update
2021-05-12 00:04:03 +00:00
HomeAssistant Azure
887ec2d9b5
[ci skip] Translation update
2021-05-11 00:04:41 +00:00
HomeAssistant Azure
6665a62557
[ci skip] Translation update
2021-05-09 00:04:11 +00:00
HomeAssistant Azure
f32e15da36
[ci skip] Translation update
2021-05-08 00:03:19 +00:00
Jan Bouwhuis
7ab505633d
Ignore empty output from MQTT fan's value template ( #50122 )
...
* Allow empty payload
* Add tests for ignoring empty payload
* logging on empty state and osccilation with tests
* Improve warning log when invalid value is received
2021-05-07 13:22:08 +02:00
HomeAssistant Azure
623a9c99fe
[ci skip] Translation update
2021-05-07 00:04:03 +00:00
Erik Montnemery
7dec23d58b
Improve translation strings for MQTT config and option flows ( #50018 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-05 21:25:28 -07:00
HomeAssistant Azure
04266301e9
[ci skip] Translation update
2021-05-03 00:05:16 +00:00
Franck Nijhof
a6206b2819
Clean up connection classes in integrations M-O ( #49892 )
2021-04-30 21:03:37 -10:00
Franck Nijhof
e1a3ef3d69
Clean up config entry handlers decorator from config flows ( #49932 )
2021-04-30 23:28:25 +02:00
J. Nick Koston
3fa8ffa731
Enable mccabe complexity checks in flake8 ( #49616 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Erik Montnemery
8013eb0e08
Allow data entry flows to hint for additional steps ( #49202 )
2021-04-23 11:02:12 -07:00
jan iversen
9410aefd0d
Integrations m*: Rename HomeAssistantType to HomeAssistant. ( #49567 )
2021-04-22 14:53:37 -07:00
Jan Bouwhuis
ff367cfcb6
Mqtt cover avoid warnings on empty payload ( #49253 )
...
* No warnings on extra json values with templates
* ignore empty received payload
2021-04-20 15:47:40 +02:00
Erik Montnemery
ec56ae2cbc
Set deprecated supported_features for MQTT JSON light ( #49167 )
...
* Set deprecated supported_features for MQTT json light
* Update homeassistant/components/light/__init__.py
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-15 17:24:21 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Jan Bouwhuis
74d7293ab8
mqtt fan percentage to speed_range and received speed_state fix ( #49060 )
...
* percentage to speed_range and get speed state fix
* Update homeassistant/components/mqtt/fan.py
* Update homeassistant/components/mqtt/fan.py
* Update homeassistant/components/mqtt/fan.py
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-11 13:53:07 -10:00
Jan Bouwhuis
28ad5b5514
Implement percentage_step and preset_mode is not not speed fix for MQTT fan ( #48951 )
2021-04-09 16:14:48 -07:00
Erik Montnemery
5e8559e3cc
Validate supported_color_modes for MQTT JSON light ( #48836 )
2021-04-08 12:40:48 -07:00
HomeAssistant Azure
82cc5148d7
[ci skip] Translation update
2021-04-07 00:04:06 +00:00
Erik Montnemery
9f2fb37e17
Flag brightness support for MQTT RGB lights ( #48718 )
2021-04-06 12:39:29 +02:00
HomeAssistant Azure
d5e5450540
[ci skip] Translation update
2021-04-05 00:05:16 +00:00
HomeAssistant Azure
a5dfbf9c44
[ci skip] Translation update
2021-04-02 00:04:54 +00:00
HomeAssistant Azure
a0483165da
[ci skip] Translation update
2021-04-01 00:03:55 +00:00
LJU
93920704d0
Remove Hass.io terms in strings.json ( #48541 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-31 17:19:18 +02:00
Erik Montnemery
b26779a27a
Add id to automation triggers ( #48464 )
2021-03-31 14:56:04 +02:00
Erik Montnemery
c7584a1f92
Add color_mode support to MQTT JSON light ( #47993 )
2021-03-31 11:28:45 +02:00
Franck Nijhof
c1d5638739
Remove HomeAssistantType alias from entity components - Part 2 ( #48468 )
2021-03-29 13:24:56 -10:00
Erik Montnemery
8ad3c65645
Allow MQTT entities to be disabled by default ( #48284 )
...
* Allow MQTT entities to be disabled by default
* Tweak
2021-03-30 00:09:14 +02:00
Jan Bouwhuis
d8a4cf63f4
Command template support for MQTT fan ( #48413 )
...
* Command template support
* Fix typo in abbreviations
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix initialize templates
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-03-29 20:41:51 +02:00
Franck Nijhof
86212db71d
Merge of nested IF-IF cases - K-N ( #48370 )
2021-03-27 10:03:15 +01:00
Jan Bouwhuis
5b17aaf9d5
Percentage and preset mode support for MQTT fan ( #47944 )
...
* git push --all origin
* Fix percentage to ordered list conversion
* Tests for mqtt fan and fixes
* Improve tests and error handling base config
* Additional tests
* Tests completed, small fixes
* Allow preset mode and percentages combined
* Remove raise in setup and update tests
* Alignment with fan entity mode
* Fix pylint for len-as-condition
* Remove python binary cache file from PR
* Additional tests on async_turn_on and fix
* Added comments for deprecation of speeds
* Schema checks before init
* Optimize pre schema checks
* Correct schema checks
* Update homeassistant/components/mqtt/abbreviations.py
Comment speeds for mqtt fan are deprecated not needed here
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Comment speeds for mqtt fan are deprecated not needed here
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Comment speeds for mqtt fan are deprecated not needed here
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Comment speeds for mqtt fan are deprecated not needed here
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Comment speeds for mqtt fan are deprecated not needed here
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Warnings for exceptions - testing speed_range
* Update homeassistant/components/mqtt/abbreviations.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
* Save with black
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-03-26 08:37:47 +01:00
Erik Montnemery
72281f4718
Validate device trigger schemas once ( #48319 )
2021-03-26 08:09:21 +01:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
HomeAssistant Azure
55b689b464
[ci skip] Translation update
2021-03-23 00:03:29 +00:00
Erik Montnemery
fdf97eaca3
Migrate integrations i-m to extend SensorEntity ( #48213 )
2021-03-22 19:59:03 +01:00
Philip Allgaier
3ae9460131
Use domain const in config_flow ( #48168 )
2021-03-21 00:34:46 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Marc Mueller
4cb7718192
Update typing 16 ( #48087 )
2021-03-18 22:58:19 +01:00
Marc Mueller
25a13d1554
Update typing 10 ( #48071 )
2021-03-18 13:07:04 +01:00
HomeAssistant Azure
f625e324dd
[ci skip] Translation update
2021-03-18 00:07:07 +00:00
HomeAssistant Azure
4306c8fbb4
[ci skip] Translation update
2021-03-17 00:03:55 +00:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
RadekHvizdos
9f4c2f6260
Add suggested_area to MQTT discovery ( #47903 )
...
* Add suggested_area to MQTT Discovery
This adds suggested_area to MQTT discovery, so that the discovered devices could be automatically added to the proper area.
* Add abbreviation for MQTT suggested_area
* Remove extra whitespace
* Remove extra whitespace #2
* Added tests for MQTT Dicovery of suggested_area
* Fix test for MQTT suggested_area
* Better tests of MQTT suggested_area
Changes made as per feedback from @emontnemery
2021-03-15 20:02:02 +01:00
Drzony
99d1e3e71d
MQTT Light: Use flash attribute in async_turn_off ( #47919 )
2021-03-15 11:24:07 +01:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() ( #47758 )
2021-03-11 20:11:25 +01:00
mtl010957
b162c45e0a
Cover Tilt Position Bugfix ( #47682 )
...
* Report tilt position properly when inverting using tilt_max < tilt_min
* Add warning per review comment
* Add test for inverted tilt position configuration
* Separate non-numeric and out of range warnings per review comment
* Fix out of range message and add tests for not numeric and out of range messages
2021-03-11 13:49:10 +01:00
Kristian Heljas
9e487eb260
Hoist mqtt name property and add icon support to MqttEntity ( #47165 )
...
* hoist common MqttEntity properties
* remove default name for MqttEntity
Default naming is sensible enough
* disable overriding common MqttEntity schema
* merge common MqttEntity schemas into MQTT_ENTITY_COMMON_SCHEMA
2021-03-11 13:42:13 +01:00
Erik Montnemery
959181a2e9
Make MQTT number respect retain setting ( #47270 )
2021-03-02 14:28:31 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Erik Montnemery
19cd29affa
Fix MQTT trigger where wanted payload may be parsed as an integer ( #47162 )
2021-02-28 12:19:27 -08:00
HomeAssistant Azure
43621091b7
[ci skip] Translation update
2021-02-27 00:05:45 +00:00
Erik Montnemery
daf7595ca6
Support value_template in MQTT triggers ( #46891 )
...
* Support value_template in MQTT triggers
* Rename value_template to payload_template
* Revert "Rename value_template to payload_template"
This reverts commit 902094eefc
.
2021-02-24 20:16:36 +01:00
Franck Nijhof
ea4bbd771f
Add service names to previously enriched services ( #46929 )
...
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-02-23 14:10:13 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
Franck Nijhof
cd6a83f009
Add selectors to MQTT service definitions ( #46738 )
2021-02-18 16:37:15 +01:00
Shay Levy
a5d943b5f1
MQTT cover Bugfixes ( #46479 )
...
* MQTT cover Bugfixes
* Remove period
2021-02-15 17:33:42 +01:00
Erik Montnemery
5a907ebafc
Remove @home-assistant/core from MQTT codeowners ( #46562 )
2021-02-15 11:51:56 +01:00
tkdrob
a5a45f29e2
Cleanup unused loggers ( #46510 )
2021-02-14 13:46:58 +01:00
Erik Montnemery
190a9f66cb
Improve MQTT timeout print ( #46398 )
2021-02-12 11:43:44 +01:00
Steve Dwyer
5ce49c62b1
Allow MQTT template light floating point transition ( #46385 )
...
Allow to use floating point values for the transition time of the MQTT
template light.
2021-02-11 14:57:27 +01:00
tkdrob
b85ecc0bd2
Use core constants for mqtt ( #46389 )
2021-02-11 13:38:33 +01:00
Shay Levy
81c88cd639
Enhance MQTT cover platform ( #46059 )
...
* Enhance MQTT cover platform
Allow combining of position and state of MQTT cover
Add template and fix optimistic in set tilt position
Add tests
* Add abbreviations
* Add tests and stopped state
* Cleanup & fix range for templates
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-02-08 16:02:12 +01:00
Erik Montnemery
047f16772f
Support templating MQTT triggers ( #45614 )
...
* Add support for limited templates (no HASS access)
* Pass variables to automation triggers
* Support templates in MQTT triggers
* Spelling
* Handle trigger referenced by variables
* Raise on unsupported function in limited templates
* Validate MQTT trigger schema in MQTT device trigger
* Add trigger_variables to automation config schema
* Don't print stacktrace when setting up trigger throws
* Make pylint happy
* Add trigger_variables to variables
* Add debug prints, document limited template
* Add tests
* Validate MQTT trigger topic early when possible
* Improve valid_subscribe_topic_template
2021-02-08 10:50:38 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
tkdrob
66ecd2e0f2
Remove unused config_flows ( #46188 )
2021-02-08 08:32:24 +01:00
HomeAssistant Azure
c6bd5b1b71
[ci skip] Translation update
2021-02-05 00:03:54 +00:00
Philip Allgaier
5a0715d388
Consistent spelling of IT abbreviations / protocol / format names ( #45913 )
2021-02-04 01:43:07 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Erik Montnemery
411c0a9685
Improve MQTT JSON light to allow non-ambiguous states ( #45522 )
2021-02-02 09:36:00 +01:00
J. Nick Koston
068d1b5eb8
Separate fan speeds into percentages and presets modes ( #45407 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: John Carr <john.carr@unrouted.co.uk>
2021-01-27 17:44:36 -06:00
radovanbauer
baab9b9a81
Added command templates for the mqtt climate component. ( #44976 )
...
This allows integrating with devices which require more complex payloads to be posted when updating their values.
Old feature request: https://github.com/home-assistant/core/issues/11496
There are numerous posts requesting this feature, example: https://community.home-assistant.io/t/need-help-with-value-template-for-mqtt-hvac/73395/68https://community.home-assistant.io/t/need-help-with-value-template-for-mqtt-hvac/73395/68
Command templates have been added for the following:
- fan_mode
- hold
- mode
- swing_mode
- temperature
- temperature high/low
This doesn't add templates for aux, away mode, power since these already accept custom payload_on/off (although they all share the same payload). It should be straightforward to add templates for them as well if needed.
2021-01-26 16:12:33 +01:00
Erik Montnemery
0e068a5f39
Truncate MQTT payload in debug messages to 8kB ( #45465 )
2021-01-23 14:52:43 -05:00
Erik Montnemery
f86beed7b0
Subscribe only to valid MQTT discovery topics ( #45456 )
2021-01-23 08:51:25 -05:00
J. Nick Koston
954ad854fb
Remove the ability for mqtt to set speeds that are not in the speed_list ( #45445 )
2021-01-23 06:24:06 +01:00
Erik Montnemery
d60fc0de38
Add availability_mode "all" and "any" to MQTT entities ( #44987 )
...
* Add availability_mode "all" to MQTT entities
* Add availability mode any
2021-01-11 16:04:22 +01:00
Erik Montnemery
248802efd5
Add MQTT base entity ( #44971 )
2021-01-09 17:46:53 +01:00
Erik Montnemery
6dd6d9b368
Deduplicate MQTT entity discovery code ( #44970 )
2021-01-09 14:37:33 +01:00
Erik Montnemery
b85efd343f
Move MQTT entity helpers to separate file ( #44838 )
...
* Move MQTT entity helpers to separate file
* Fix imports
* Update MQTT number
* Review comments
* Fix formatting
2021-01-09 00:47:17 +01:00
Diogo Gomes
e3c1281616
Add MQTT Number (non optimistic) ( #44883 )
...
* non optimistic
* test restored state
* ups
* review
* Ensure the entity is not in optimistic mode
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-01-08 23:43:14 +01:00
Diogo Gomes
f18880686c
Add MQTT Number ( #44739 )
...
* Initial Commit
* initial commit
* add discovery and tests
* increase coverage
* address review
* catchup with reality
2021-01-06 08:27:46 +01:00
Erik Montnemery
34bd70aee6
Fix race when handling MQTT discovery messages ( #44730 )
...
* Fix race when handling MQTT discovery messages
* Lint
* retrigger checks
2021-01-04 12:28:17 +01:00
HomeAssistant Azure
f3cabe97e0
[ci skip] Translation update
2020-12-21 00:04:09 +00:00
Paulus Schoutsen
594e905742
Remove invalidation_version from deprecated ( #44156 )
...
* Remove invalidation_version from deprecated. We don't follow up and just hurts releases
* Revert change to ZHA
2020-12-12 22:24:16 +01:00
Erik Montnemery
97edbaa85f
Small cleanup of MQTT ( #44110 )
...
* Use relative imports of mqtt component in mqtt platforms
* Correct parameters to _async_setup_entity
* Lint
2020-12-10 21:30:07 +01:00
PeteBa
727b1d37b6
Add discovery for MQTT device tracker ( #42327 )
2020-12-07 13:16:56 +01:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
Kiall Mac Innes
8efa9c5097
Add support for MQTT Scenes ( #42639 )
2020-12-02 19:42:28 +01:00
Erik Montnemery
d18a33020b
Fix MQTT birth message deadlock ( #43790 )
2020-12-01 01:01:22 +01:00
Paulus Schoutsen
5b6d9abe2a
Await callbacks to keep cleaner stacktraces ( #43693 )
2020-11-27 17:48:43 +01:00
Erik Montnemery
a5e5c5c7e6
Exclude disabled entities from async_entries_for_device ( #43665 )
2020-11-27 09:03:44 +01:00
Erik Montnemery
8ff10ad3b8
Fix MQTT threading bug ( #43667 )
2020-11-26 22:33:58 +01:00
HomeAssistant Azure
fcd8684d40
[ci skip] Translation update
2020-11-24 00:04:19 +00:00
Erik Montnemery
52e1282d8c
Make MQTT climate return PRESET_NONE when no preset is set ( #43257 )
2020-11-16 20:10:55 +01:00
Erik Montnemery
4e49bd0596
Correct handling of existing MQTT subscriptions ( #43056 )
2020-11-10 21:55:26 +01:00
HomeAssistant Azure
95c9880c52
[ci skip] Translation update
2020-11-10 00:04:21 +00:00
Erik Montnemery
b45fa29077
Force color or white mode exclusivity for MQTT lights ( #42887 )
2020-11-09 12:51:01 +01:00
HomeAssistant Azure
eebf0ef336
[ci skip] Translation update
2020-11-08 00:04:05 +00:00
Erik Montnemery
7f640c4a2e
Generate random MQTT client ID ( #42934 )
...
* Generate random MQTT client ID
* Add comment
* Apply suggestions from code review
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-11-07 16:27:09 +01:00