Jan-Philipp Benecke and GitHub
ff6812a798
Split light fixture from implementation to only import when fixture is actually used ( #113892 )
...
* Split light fixture from implementation to only import when fixture is actually used
* Non-local import
2024-03-21 10:49:32 +01:00
Jan-Philipp Benecke and GitHub
638020f168
Remove deprecated hass.components from group light tests and use fixture ( #113862 )
2024-03-20 08:45:50 +01:00
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2024-03-19 09:01:07 +01:00
J. Nick Koston and GitHub
c1f5c7c4b7
Remove usage of async_add_job in tests ( #113259 )
2024-03-13 19:33:33 -10:00
Marc Mueller and GitHub
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller and GitHub
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
J. Nick Koston and GitHub
f3a9756f81
Avoid waiting for integration platforms in the parent integration ( #112467 )
2024-03-05 21:16:42 -10:00
8b017016b0
Refactor integration platforms to import in the executor ( #112168 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2024-03-04 19:21:18 -10:00
4a128f1225
Return group unit of measurement when device_class is None ( #110973 )
...
* Groups: Return units when device_class is None
* Fixes
* Mods
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se >
2024-02-25 22:44:05 -05:00
G Johansson and GitHub
baa511b808
Fix group sensor uom's in not convertable device classes ( #109580 )
2024-02-04 14:56:23 +01:00
Erik Montnemery and GitHub
fe4dd2cb93
Improve color mode handling in light groups ( #109390 )
...
* Improve color mode handling in light groups
* Update config flow test
2024-02-03 09:00:00 +01:00
Erik Montnemery and GitHub
4229c35fcd
Improve color mode handling in MockLight ( #109298 )
2024-02-02 09:49:32 +01:00
Tucker Kern and GitHub
340df38bd0
Suppress log warnings when a sensor group has non numeric members ( #102828 )
2024-01-31 20:02:21 +01:00
G Johansson and GitHub
f9a4840ce2
Group sensor calculate attributes ( #106972 )
...
* Group sensor calculate attributes
* Use entity helpers
* Fix sensor tests
* Test change of uom
* Add tests and fix UoM issue
* Fix test
* Fix state class
* repair and logs
* delete issues
* pass through hass
* Update descriotion text to be more descriptive
* Comments
* Add pr to comment
* fix if in updating
* Fix test valid units
* Fix strings
* Fix issues
2024-01-23 08:16:51 +01:00
J. Nick Koston and GitHub
c399cab427
Small speed up to checking core state ( #107845 )
2024-01-18 08:41:32 -10:00
Jan Bouwhuis and GitHub
861bb48ab6
Assign specific error code for HomeAssistantError on websocket_api connection exceptions ( #104700 )
...
Assign specific error code for HomeAssistantError
2023-11-29 13:07:52 +01:00
Jan-Philipp Benecke and GitHub
04a497343d
Update f-g* tests to use entity & device registry fixtures ( #103841 )
2023-11-12 13:07:38 +01:00
Erik Montnemery and GitHub
03d3a87f23
Small cleanup of legacy groups ( #102918 )
...
* Small cleanup of legacy groups
* Update tests which create groups
2023-10-28 17:16:41 +02:00
Erik Montnemery and GitHub
6223af1899
Don't set assumed_state in fan groups ( #99399 )
2023-09-04 14:08:50 +02:00
Erik Montnemery and GitHub
f3d8a0eaaf
Don't set assumed_state in cover groups ( #99391 )
2023-09-04 14:08:38 +02:00
Ville Skyttä and GitHub
e7b6037419
Remove unnnecessary pylint configs from components [e-l]* ( #99004 )
2023-08-25 09:46:34 +02:00
Erik Montnemery and GitHub
3e02fb1f07
Add preview support to all groups ( #98951 )
2023-08-25 08:59:33 +02:00
Erik Montnemery and GitHub
2066cf6b31
Remove group_type from group preview events ( #98952 )
2023-08-24 19:54:04 +02:00
0d013767ee
Add support for event groups ( #98463 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2023-08-24 12:49:38 +02:00
Erik Montnemery and GitHub
d282ba6bac
Use a single WS command for group preview ( #98903 )
...
* Use a single WS command for group preview
* Fix tests
2023-08-24 11:59:24 +02:00
Erik Montnemery and GitHub
ee1b6a60a0
Deduplicate group preview tests ( #98883 )
2023-08-23 19:13:24 +02:00
Erik Montnemery and GitHub
6be20b5408
Add preview support to binary sensor group ( #98872 )
2023-08-23 14:24:48 +02:00
Erik Montnemery and GitHub
b885dfa5a8
Add preview to sensor group config and option flows ( #83638 )
2023-08-22 10:29:16 +02:00
Marc Mueller and GitHub
a9ade1f84d
Use asyncio.timeout [core] ( #98447 )
2023-08-15 08:36:05 -05:00
Erik Montnemery and GitHub
87f284c7e9
Add MEDIA_ANNOUNCE to MediaPlayerEntityFeature ( #95906 )
2023-07-10 12:58:53 +02:00
Erik Montnemery and GitHub
6dae3553f2
Add MEDIA_ENQUEUE to MediaPlayerEntityFeature ( #95905 )
2023-07-08 10:55:25 +02:00
J. Nick Koston and GitHub
ea57f78392
Add slots to the service registry ( #95857 )
2023-07-05 15:59:36 +02:00
Erik Montnemery and GitHub
e3c16e634b
Allow exposing entities not in the entity registry to assistants ( #92363 )
2023-05-02 22:08:09 +02:00
J. Nick Koston and GitHub
d0d4ab6056
Require a list of entity ids when fetching history ( #90992 )
2023-04-08 16:14:44 -10:00
d228df6d81
Fix Notify Group payload data mis-merge ( #90253 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2023-03-28 14:56:10 +02:00
G Johansson and GitHub
706e8d5612
Add product calculation to Group sensor ( #87373 )
...
* Group product
* config flow
2023-03-28 09:35:09 +02:00
J. Nick Koston and GitHub
1c57339ec3
Refactor recorder tests to use recorder history API ( #89565 )
2023-03-11 21:51:16 -05:00
Franck Nijhof and GitHub
1e05697080
Enable Ruff B007 ( #88356 )
...
* Enable Ruff B007
* Adjust existing cases
2023-02-17 21:08:18 -05:00
Erik Montnemery and GitHub
9989a4787b
Fix recorder platform tests ( #88330 )
2023-02-17 08:22:15 -06:00
Franck Nijhof and GitHub
d3ed8de232
Update Ruff to v0.0.247 ( #88210 )
...
* Update Ruff to v0.0.247
* Fix new found violations
2023-02-15 16:46:03 -05:00
Franck Nijhof and GitHub
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Franck Nijhof and GitHub
9030ca05b1
Enable Ruff SIM118 ( #87772 )
2023-02-15 12:39:12 +01:00
epenet and GitHub
89e4ee5320
Add type hints to integration tests (part 8) ( #87982 )
2023-02-13 11:13:48 +01:00
G Johansson and GitHub
7aa79415c1
Fix unbound variable in Group sensor ( #87878 )
...
* group bound last
* Add test
2023-02-11 16:27:22 +01:00
epenet and GitHub
7a4d15a657
Add type hints to integration tests (f-g) ( #87700 )
2023-02-08 13:33:52 +01:00
Franck Nijhof and GitHub
1b4f4edce2
Don't override icon in sensor group when device class is set ( #87304 )
2023-02-03 16:38:05 +01:00
J. Nick Koston and GitHub
c612a92cfb
Use python defaults for comparing State, LazyState, and Event objects ( #86856 )
...
* Speed up comparing State and Event objects
Use default python implementation for State and Event __hash__ and __eq__
The default implementation compared based on the id() of the object
which is effectively what we want here anyways. These overrides are
left over from the days when these used to be attrs objects
By avoiding implementing these ourselves all of the equality checks
can happen in native code
* tweak
* adjust tests
* write out some more
* fix test to not compare objects
* more test fixes
* more test fixes
* correct stats tests
* fix more tests
* fix more tests
* update sensor recorder tests
2023-01-29 13:31:43 -05:00
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2023-01-27 09:09:46 +01:00
G Johansson and GitHub
b3c5c6ae9c
Add sensor to group ( #83186 )
2023-01-24 20:12:27 +01:00
Jan Bouwhuis and GitHub
33fb27eb1a
Rename fake kitchen_sink demo locks to more common name ( #86452 )
2023-01-23 16:31:02 +01:00