epenet
2cdc741900
Add type hints to integration tests (part 17) ( #88163 )
2023-02-15 11:14:04 +01:00
epenet
3abf7ea18a
Add type hints to integration tests (m-p) ( #87705 )
2023-02-08 07:48:54 -08:00
epenet
59ca7780fa
Add typing to tests with single hass argument ( #87631 )
2023-02-07 15:01:16 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Erik Montnemery
31a787558f
Ensure recorder test fixture is setup before hass fixture ( #80528 )
...
* Ensure recorder test fixture is setup before hass fixture
* Adjust more tests
2022-10-19 07:58:47 +02:00
Erik Montnemery
28ebab9c5a
Simplify waiting for recorder in tests ( #70647 )
2022-04-25 12:04:47 +02:00
Erik Montnemery
982e314de6
Use recorder_mock in tests ( #70363 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-22 19:29:44 -10:00
J. Nick Koston
9215702388
Separate attrs into another table (reduces database size) ( #68224 )
2022-03-18 00:23:13 -10:00
Erik Montnemery
346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes ( #48161 )
...
* Mark base state_attributes @final, rename others to extra_state_attributes
* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
Franck Nijhof
5a2b5fe7c5
Yoda assertion style removed is ( #48142 )
2021-03-20 13:55:10 +01:00
springstan
6c8e0e20fb
Add and use light lux constant in entire code base ( #40171 )
2020-09-23 20:48:01 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
J. Nick Koston
e65235b207
Switch async_track_state_change to the faster async_track_state_change_event part 6 ( #37869 )
...
Calling async_track_state_change_event directly is faster than async_track_state_change (see #37251 ) since async_track_state_change is a wrapper around async_track_state_change_event now
2020-07-14 22:24:27 -07:00
Paulus Schoutsen
454c5d824a
Attempt to fix CI ( #34800 )
2020-04-28 10:31:22 -07:00
springstan
ef9d9b17bd
Drop UNIT_ prefix for constants ( #34164 )
...
* Drop UNIT_ prefix for VOLT
* Drop UNIT_ prefix for DEGREE
* Drop UNIT_ prefix for CONDUCTIVITY
* Drop UNIT_ prefix for UV_INDEX
* Run isort
2020-04-21 19:45:53 +02:00
springstan
538bb60022
Add and use UNIT_CONDUCTIVITY constant ( #34107 )
2020-04-12 21:26:20 +02:00
springstan
eae21be5b9
Improve string formatting v6 ( #33698 )
2020-04-07 23:14:28 +02:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt
21816eeed4
Sort imports according to PEP8 for components starting with "P" ( #29775 )
2019-12-09 14:29:39 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Conrad Juhl Andersen
0792e72f71
Add support for sensor state STATE_UNAVAILABLE ( #24641 )
...
* Fixed integration with ESPhome, which caused an error if ESPhome did not update fast enough on startup
* Set state to problem if sensor is unavailable
* Fix line length.
2019-06-24 11:30:44 -07:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* 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