9 Commits

Author SHA1 Message Date
Jan Bouwhuis
dae8c0fc38
Fix MQTT retained event messages should be discarded () 2023-12-27 12:48:53 +01:00
Franck Nijhof
68ac4717dc
Revert "Raise HomeAssistantError if event is triggered with invalid event_type" () 2023-12-27 10:22:37 +01:00
Jan Bouwhuis
65e8bbacc9
Raise HomeAssistantError if event is triggered with invalid event_type () 2023-12-27 08:50:46 +01:00
Jan Bouwhuis
25ab622b51
Rename mqtt entry setup helpers to reflect their purpose ()
Rename mqtt entry setup helpers
2023-10-20 13:36:24 +02:00
Jan Bouwhuis
7d9014ae41
Do not fail MQTT setup if events or sensors configured via yaml can't be validated ()
* Add event and sensor

* Cleanup unused code

* Schema cannot be None for supported platform
2023-10-20 12:09:52 +02:00
Jan Bouwhuis
59a26010ba
Cleanup redundant mqtt entity constructors ()
* Remove redundant mqtt entity constructors

* Remove unrelated change

* Follow up comment

* Revert changes to mqtt update platform

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-26 23:03:11 +02:00
Jan Bouwhuis
002be37257
Rework and added tests for mqtt event ()
Use write_state_on_attr_change and add tests
2023-09-25 18:02:17 +02:00
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma () 2023-08-10 14:27:03 +02:00
Jan Bouwhuis
1b8e03bb66
Add MQTT event entity platform ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-23 14:42:14 +02:00