Commit graph

9 commits

Author SHA1 Message Date
Jan-Philipp Benecke
25c4ab070b
Use mock_platform for event entity component tests instead of hass.components () 2024-03-17 17:32:16 +01:00
Sid
6113b99ddd
Replace pylint pointless-statement with ruff B018 ()
* Replace pylint pointless-statement with ruff B018

* fix occurrences of B018

* disable pylint expression-not-assigned as well

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-17 10:58:14 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] () 2024-03-08 08:50:25 -05: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
J. Nick Koston
6e6d7a0c92
Add support for attribute caching to the event platform () 2023-12-23 13:23:32 -10:00
Erik Montnemery
d1afcd773f
Revert "Cache entity properties that are never expected to change in the base class" ()
Revert "Cache entity properties that are never expected to change in the base class ()"

This reverts commit 042776ebb8.
2023-09-15 11:25:24 +02:00
J. Nick Koston
042776ebb8
Cache entity properties that are never expected to change in the base class () 2023-09-14 17:48:48 -05:00
Franck Nijhof
747f4d4a73
Add event entity () 2023-07-21 12:16:35 +02:00