1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-30 10:47:06 +00:00

18 Commits

Author SHA1 Message Date
Marc Mueller
a52a80f806
Always include old_state in EventStateChangedData [tests] () 2024-04-08 08:25:22 -10:00
Erik Montnemery
426f73b1f4
Add State.last_reported ()
* Add State.last_reported

* Update tests

* Update test snapshots

* Call state_reported listeners when firing state_changed event

* Add tests
2024-03-20 21:05:07 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] () 2024-03-08 19:16:21 +01:00
J. Nick Koston
5059cee53f
Reduce overhead to fire events () 2023-06-24 14:39:13 -05:00
Jan Bouwhuis
56dcb908bc
Wait for mqtt client to become available () 2023-05-04 19:48:32 +02:00
epenet
50cbabb2d8
Add type hints to integration tests (part 15) () 2023-02-15 10:00:49 +01:00
Erik Montnemery
916ba0be11
Don't receive homeassistant_* events from MQTT eventstream () 2021-04-13 15:09:50 +02:00
Franck Nijhof
5a2b5fe7c5
Yoda assertion style removed is () 2021-03-20 13:55:10 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
dmonego
1cacca6568
Update mqtt_eventstream tests to pytest style functions () 2020-10-21 04:07:48 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Erik Montnemery
4e77969f5e
Drop use of mock_mqtt_component ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-06-23 10:17:22 -07:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ()
* Use asynctest-mock in most places

* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen
454c5d824a
Attempt to fix CI () 2020-04-28 10:31:22 -07:00
David F. Mulcahey
201e958854
Use mock storage for MQTT tests ()
* mock storage for MQTT

* more mqtt storage mocks
2020-04-02 17:13:44 -05:00
Bas Nijholt
710680d604 use isort to sort imports for components starting with 'm' () 2019-12-09 18:50:40 +05:30
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ()
* Move all components into folders

* Move component tests into folders

* Fix init moving

* Move tests

* Lint

* Update coverage

* Fix service descriptions

* Update CODEOWNERS
2019-02-05 19:31:15 -08:00