83 Commits

Author SHA1 Message Date
Jan Bouwhuis
ff07674653 Introduce default_entity_id to replace object_id for mqtt entity platforms (#40749) 2025-09-10 08:03:41 +02:00
Franck Nijhof
7cacff9030 Merge branch 'current' into next 2025-07-30 08:44:09 +00:00
Jan Bouwhuis
14944efb0d Explain how mqtt sensors are influenced with expire_after option when a retained payload was used (#40043)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2025-07-30 06:19:14 +02:00
Bram Kragten
630f456aed Merge current into next (#40176)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: ecspiegel <87676266+ecspiegel@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: alawadhi3000 <5523980+alawadhi3000@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Co-authored-by: staticdev <staticdev-support@proton.me>
Co-authored-by: tronikos <tronikos@users.noreply.github.com>
Co-authored-by: AlCalzone <dominic.griesel@nabucasa.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: essys <essys@users.noreply.github.com>
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
Co-authored-by: Gord <31004434+googanhiem@users.noreply.github.com>
Co-authored-by: Darren Griffin <darren.griffin@live.co.uk>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: hanwg <han.wuguang@gmail.com>
Co-authored-by: Adam W <35391288+A-damW@users.noreply.github.com>
Co-authored-by: Hessel <hesselonline@users.noreply.github.com>
Co-authored-by: Damien Sorel <mistic@strangeplanet.fr>
Co-authored-by: Tempura San <tempura.san@gmail.com>
Co-authored-by: Manu <4445816+tr4nt0r@users.noreply.github.com>
Co-authored-by: J. Diego Rodríguez Royo <jdrr1998@hotmail.com>
Co-authored-by: lexitus <38081592+lexitus@users.noreply.github.com>
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Evgeny Sureev <u@litka.ru>
Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: TomArm <TomArm@users.noreply.github.com>
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Guillaume Rischard <github@stereo.lu>
Co-authored-by: Geoff <85890024+Thulrus@users.noreply.github.com>
Co-authored-by: GhoweVege <85890024+GhoweVege@users.noreply.github.com>
Co-authored-by: Logan Rosen <loganrosen@gmail.com>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: RanTheLab <RanTheLab@users.noreply.github.com>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: John Hess <john@h3ss.com>
Co-authored-by: Marco <cdrfun@cdrfun.eu>
Co-authored-by: robthebold <38596885+robthebold@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Pieter Rautenbach <parautenbach@gmail.com>
Co-authored-by: Tsvi Mostovicz <ttmost@gmail.com>
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Galorhallen <12990764+Galorhallen@users.noreply.github.com>
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>
Co-authored-by: Norbert Rittel <norbert@rittel.de>
Co-authored-by: Mr. Snyds <41122989+mrsnyds@users.noreply.github.com>
Co-authored-by: Allen Porter <allen.porter@gmail.com>
Co-authored-by: Ludovic BOUÉ <lboue@users.noreply.github.com>
Co-authored-by: threatdisplay <ajbriones@gmail.com>
Co-authored-by: Kamil Breguła <mik-laj@users.noreply.github.com>
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
Co-authored-by: Timothy <6560631+TimoPtr@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>
Co-authored-by: Arie Catsman <120491684+catsmanac@users.noreply.github.com>
Co-authored-by: Marko Dimjašević <marko@dimjasevic.net>
Co-authored-by: karwosts <32912880+karwosts@users.noreply.github.com>
Co-authored-by: Guido Schmitz <Shutgun@users.noreply.github.com>
2025-07-28 16:45:52 +02:00
Jan Bouwhuis
70bb862af1 Mention subentry support for MQTT notify, sensor and switch entities (#40149) 2025-07-28 12:12:06 +02:00
Jan Bouwhuis
38d136d1c2 Document object_id is only updates Entity ID when the MQTT entity is added the first time and overrides user customizations (#39947)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2025-07-10 04:55:08 +00:00
Jan Bouwhuis
14cefb3868 Consequent documentation of MQTT entity set up (#39951) 2025-07-10 06:41:58 +02:00
lexitus
6446772398 Fix link to "Using Value Templates with MQTT" (#39890) 2025-07-07 08:05:36 +02:00
Jan Bouwhuis
4144b06385 Improve MQTT template docs on handling null values (#38485) 2025-04-12 06:44:27 +02:00
jbouwh
ca29c70bf7 Fix mqtt light schema defaults, state_value_template description and unclear template docs references 2025-03-15 21:35:31 +00:00
Jan Bouwhuis
5b6f279a08 Add device based MQTT auto discovery (#33072)
* Revert "Revert "Add device based MQTT auto discovery (#31122)" (#33059)"

This reverts commit ba80f8b73a.

* Document `migrate_discovery` option

* Add note that unique_id is required for device based discovery

* Rework docs for different use of migrate_discovery option flag

* Follow up from code-review

* Re-using discovery_id is no longer required

* Follow up on review

* more follow up

* More corrections

* Add column

* typo

* Remove duplicate header

* Clearify json example

* changed abbreviation `cmps` and added abbreviation `p`

* Update source/_integrations/mqtt.markdown

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* More follow up actions

* Fix back ticks

* Remove redundant header and redundant origing documentation

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-10-31 07:37:35 +01:00
Jan Bouwhuis
7f829e887a Add èntity_category`property to mqtt entity platforms config options (#35239) 2024-10-25 20:26:45 +02:00
Jan Bouwhuis
2248dcb609 Clearify the use of the mqtt sensor options option (#35084) 2024-10-05 12:28:42 +02:00
Bram Kragten
6021c517f1 Merge branch 'next' into rc 2024-08-28 18:39:48 +02:00
Bram Kragten
d92e61f75d Merge branch 'current' into rc 2024-08-28 18:36:24 +02:00
Jan Bouwhuis
d240614f04 Add options support to MQTT sensor (#34152) 2024-08-22 19:22:17 +02:00
Dubh Ad
c8bc61d761 Update sensor.mqtt.markdown (#34209)
Closing quote missing from the template
2024-08-12 07:40:01 +02:00
Maciej Bieniek
df5c074bd0 Add information about model_id to MQTT documentation (#34117)
* Update mqtt.markdown

* Update cover.mqtt.markdown

* Update fan.mqtt.markdown

* Update tag.mqtt.markdown

* Update lock.mqtt.markdown

* Update text.mqtt.markdown

* Update event.mqtt.markdown

* Update image.mqtt.markdown

* Update light.mqtt.markdown

* Update scene.mqtt.markdown

* Update siren.mqtt.markdown

* Update valve.mqtt.markdown

* Update button.mqtt.markdown

* Update camera.mqtt.markdown

* Update notify.mqtt.markdown

* Update number.mqtt.markdown

* Update select.mqtt.markdown

* Update sensor.mqtt.markdown

* Update switch.mqtt.markdown

* Update update.mqtt.markdown

* Update vacuum.mqtt.markdown

* Update climate.mqtt.markdown

* Update humidifier.mqtt.markdown

* Update lawn_mower.mqtt.markdown

* Update water_heater.mqtt.markdown

* Update binary_sensor.mqtt.markdown

* Update device_tracker.mqtt.markdown

* Update device_trigger.mqtt.markdown

* Update alarm_control_panel.mqtt.markdown
2024-08-04 23:02:50 +02:00
Jan Bouwhuis
9fa88bc2de Correct mqtt sensor info on state updates and add waring on use extra state attributes (#33750) 2024-07-15 08:33:23 +02:00
Jan Bouwhuis
33be3e532f Fix mosquitto_pub tool syntax in mqtt examples (#33305)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-06-17 21:20:29 +02:00
Jan Bouwhuis
b1baa8720b Revert "Add device based MQTT auto discovery (#31122)" (#33059) 2024-06-05 10:33:44 +02:00
Jan Bouwhuis
e1bd46d043 Add device based MQTT auto discovery (#31122)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-05-28 23:28:01 -10:00
c0ffeeca7
d545c0bf86 s-integrations: add glossary reference to config file (#32762) 2024-05-14 16:28:47 +02:00
Jan Bouwhuis
a5a0b236ea Add comment to mqtt sensor last_reset_value_template that state_class option must be total (#31844) 2024-03-12 10:02:33 +01:00
Franck Nijhof
ae75499061 Merge branch 'current' into rc 2024-02-07 18:16:18 +01:00
Jan Bouwhuis
1522646b7e Add mqtt sensor example processing epoch timestamps (#31287)
* Add mqtt sensor example processing epoch timestamps

* Explain how to test

* Fix

* tiny tweaks

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2024-02-07 11:36:52 +01:00
Franck Nijhof
099bbaeead Merge branch 'current' into next 2024-01-31 09:25:34 +01:00
Jan Bouwhuis
ab1eb994a9 Remove None as default option in MQTT documentation (#30900) 2024-01-18 08:36:48 +01:00
Jan Bouwhuis
b721084c4c Add serial_number config attribute to MQTT device mapping (#30855)
* Add serial_number config attribute to MQTT device mapping

* Fix type
2024-01-16 14:03:00 +01:00
Jan Bouwhuis
44adda5da9 Cleanup old anchors to point to new config style (#30358) 2023-12-15 12:27:43 +01:00
Carlo Costanzo
1e511fa6a5 Update sensor.mqtt.markdown (#29758)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-11-13 15:53:48 +01:00
Jan Bouwhuis
320c9fd79c Clarify the mqtt entity_category for sensors must be diagnostic (#29651)
* Claryfy the mqtt entity_category for sensors

* tiny tweak

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-11-02 05:39:19 +01:00
Jonny Bergdahl
ab64e45413 Fix JSON readability (#29483)
Co-authored-by: Jonny Bergdahl <bergdahl@users.noreply.github.com>
2023-10-23 17:45:46 +02:00
Jan Bouwhuis
b59b17cb02 Correct and allign description on mqtt qos option (#28708) 2023-08-28 11:01:24 +02:00
Jan Bouwhuis
77e84f5e6e Changes in naming of MQTT entities (#27954)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-23 14:20:39 +02:00
Jan Bouwhuis
c8dd6e07eb Update MQTT configuration_url description (#28131) 2023-07-22 22:51:07 +02:00
Jan Bouwhuis
35ade923d9 Introduce new yaml style and update examples (#28229)
* Introduce new yaml style and update examples

* Apply suggestions from code review

Thnx @frenck !

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

---------

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-18 14:30:22 +02:00
Jan Bouwhuis
fc7d6312dc Correct device description for MQTT platforms (#27927) 2023-06-22 17:33:05 +02:00
Sven Serlier
996f598dac Update URLs (#27260) 2023-05-04 12:26:18 +02:00
Franck Nijhof
36269a2f4b Merge branch 'current' into next 2023-04-26 16:29:03 +02:00
Jan Bouwhuis
f89569b964 Correct mqtt config template option type (#27120) 2023-04-24 14:34:32 +02:00
Jan Bouwhuis
105be2f514 Allow mqtt device_class or UOM to be None (#26973) 2023-04-17 17:23:25 +02:00
Jan Bouwhuis
db182d7901 Explain special values for MQTT numeric sensor (#26026) 2023-02-20 10:50:48 +01:00
Jan Bouwhuis
ff666ac3ac Add suggested_display_precision config setting for MQTT sensor (#26064)
* Add precision config setting to MQTT sensor

* rename to suggested_display_precision
2023-02-07 11:19:05 +01:00
Jan Bouwhuis
9f0dcb81fe Mqtt links cleanup (#25998) 2023-01-30 11:16:09 +01:00
Jan Bouwhuis
55f31ac507 Cleanup stale documentation for manual MQTT items using old format (#25416) 2022-12-27 16:13:46 +01:00
Jan Bouwhuis
e11911e33f Correct config descriptions for MQTT (binary) sensors (#24774) 2022-11-16 22:30:46 +01:00
Jan Bouwhuis
f3ed286091 Explain default behavior of expire_after option for MQTT sensors (#24237) 2022-09-26 18:49:54 +02:00
Maciej Bieniek
cef4a83178 Add information about hw_version to MQTT documentation (#23861) 2022-08-26 10:37:02 +02:00
Jan Bouwhuis
ea803e29a7 Improve MQTT template documentation link (#23848) 2022-08-22 13:01:09 +02:00