1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00
Files
core/tests/components
Oleg Kurapov 2cc38b426a Add XML support to RESTful binary sensor (#110062)
* Add XML support to RESTful binary sensor

* Add test for binary sensor with XML input data

* Address mypy validation results by handling None returns

* Use proper incorrect XML instead of blank

* Change failure condition to match the behavior of the library method

* Change error handling for bad XML to expect ExpatError

* Parametrize bad XML test to catch both empty and invalid XML

* Move exception handling out of the shared method

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-05-30 16:29:50 +02:00
..
2024-05-24 13:13:02 +02:00
2024-05-28 20:35:53 -10:00
2024-05-18 13:40:30 +02:00
2024-05-02 07:38:59 -05:00
2024-04-22 09:29:58 +02:00
2024-04-26 08:48:32 +02:00
2024-05-18 13:20:08 +02:00
2024-05-24 10:36:59 +02:00
2024-05-08 23:54:49 +02:00
2024-05-03 12:15:51 +02:00
2024-04-18 09:25:03 +02:00
2024-04-21 23:25:27 +02:00
2024-05-27 10:09:12 +02:00
2024-05-11 21:28:37 +02:00
2024-05-06 19:19:47 +02:00