Jan Bouwhuis
a8f4684929
Cleanup mqtt platform tests part 6 (last) ( #120736 )
2024-06-28 09:22:25 -05:00
Marc Mueller
dd6cc82f70
Fix mqtt test fixture usage ( #120602 )
2024-06-26 21:30:30 +02:00
Jan Bouwhuis
c5b7d2d868
Cleanup mqtt platform tests part 3 ( #120493 )
2024-06-26 09:29:40 +02:00
Jan Bouwhuis
cbcf29720d
Cleanup common mqtt tests ( #120446 )
2024-06-25 19:15:11 +02:00
soonsouth
cfc2f17f35
Remove repetitive words in comments and docstrings ( #113529 )
...
chore: remove repetitive words
Signed-off-by: soonsouth <cuibuwei@163.com>
2024-03-15 18:11:12 +01:00
Jan Bouwhuis
caaa03536b
Cleanup mqtt PLATFORMS constant and CI-test platform filters ( #112847 )
2024-03-09 23:48:54 +01:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
Jan Bouwhuis
09f1ec78a5
Handle template errors on MQTT payload handling ( #110180 )
...
* Handle template errors on MQTT payload handling (alt)
* Handle mqtt event en image template errors correctly
2024-02-13 10:59:55 +01:00
Jan Bouwhuis
d0341c9754
Do not fail MQTT setup if images configured via yaml can't be validated ( #102313 )
...
Add image
2023-10-19 18:50:02 +02:00
Jan Bouwhuis
a242a1c107
Add tests for mqtt image ( #100793 )
...
* Rework mqtt image writing state
* Revert mixin changes, add attr
* Revert code changes
2023-09-25 22:20:32 +02:00
Erik Montnemery
e9eb366f3b
Improve MQTT image tests ( #95359 )
2023-06-27 13:53:38 +02:00
Jan Bouwhuis
4d05a3ae79
Add url support for mqtt image platform ( #95249 )
...
* Add url support for mqtt image platform
* Refactor url fetch code to use base platform
* Update after rebase
---------
Co-authored-by: Erik <erik@montnemery.com>
2023-06-27 12:49:31 +02:00
Jan Bouwhuis
1029bcbbd3
Add mqtt image platform ( #94769 )
...
* Add mqtt image platform
* Follow up comments
* Use separate topics
* Set last_ image to `None` on error
* Fix encoding and schema validation
* Assing None to last_image when get image fails
* Follow up comment
* Remove content_type validation
* Add validation
* Rename options according suggestions
* Remove url_topic / template feature from PR
* Always set content_type
2023-06-26 14:42:24 +02:00