1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-08 13:57:10 +00:00

10 Commits

Author SHA1 Message Date
Jan Bouwhuis
01f3a5a97c
Consequently ignore empty MQTT state payloads and set state to unknown on "None" payload ()
* Consequently ignore empty MQTT state payloads and set state to `unknown` on "None" payload

* Do not change preset mode behavior

* Add device tracker ignoring empty state

* Ignore empty state for lock

* Resolve merge errors
2024-05-25 01:29:43 +02:00
Jan Bouwhuis
07061b14d0
Fix typo in mqtt test name () 2024-05-12 16:44:39 +02:00
Jan Bouwhuis
65a4e5a1af
Spelling of controlling in mqtt valve tests () 2024-05-12 14:06:21 +02:00
Erik Montnemery
813f97dedc
Rename some MQTT tests () 2024-05-11 16:57:46 +02:00
Jan Bouwhuis
caaa03536b
Cleanup mqtt PLATFORMS constant and CI-test platform filters () 2024-03-09 23:48:54 +01:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] () 2024-03-08 14:55:15 +01:00
Jan Bouwhuis
09f1ec78a5
Handle template errors on MQTT payload handling ()
* 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
6da2f98d34
Fix mqtt valve is not resetting opening or closing state ()
* Fix mqtt valve is not resetting opening or closing state

* Require state or position attr in JSON state update

* Do not change `_attr_is_closed` if valve reports a position

* Add comment, use tuple

* Call _update_state
2023-12-23 15:18:44 +01:00
Jan Bouwhuis
65d3f7e1c7
Improve error mqtt valve error logging ()
* Improve error mqtt valve error logging

* Update homeassistant/components/mqtt/valve.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/valve.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/valve.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-12-20 21:18:30 +01:00
Jan Bouwhuis
c7f6ab2457
Add MQTT valve platform ()
* Add mqtt valve platform

* No stop topic-reports_position and validation

* Do not allow state_open, state_closed with position reporing valve

* Allow open/close feature to be disabled

* Follow up comments

* Rename

* Apply defaults in validator

* Update docstr
2023-12-20 07:49:49 +01:00