Commit Graph

12 Commits (cdce8p-build-wheels-grpcio)

Author SHA1 Message Date
Erik Montnemery 155fc134b6
Do not add derivative config entry to source device (#148674)
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
2025-07-14 13:33:00 +02:00
karwosts 26d71fcdba
Fix derivative migration from 'none' unit_prefix (#147820) 2025-07-14 08:17:20 +02:00
karwosts 22e46d9977
Make derivative sensor unavailable when source sensor is unavailable (#147468) 2025-07-04 22:48:48 +02:00
Erik Montnemery 2afdec4711
Do not remove derivative config entry when input sensor is removed (#146506)
* Do not remove derivative config entry when input sensor is removed

* Add comments

* Update homeassistant/helpers/helper_integration.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-06-11 11:19:44 +02:00
Erik Montnemery 16a0b7f44e
Handle changes to source entity in derivative helper (#146407)
* Handle changes to source entity in derivative helper

* Rename helper function, improve docstring

* Add tests

* Improve derivative tests

* Deduplicate tests

* Rename helpers/helper_entity.py to helpers/helper_integration.py

* Rename tests
2025-06-10 14:31:18 +02:00
G Johansson 6ff2ce1895
Use shorthand attribute in derivative sensor (#128610) 2024-10-18 09:33:02 +02:00
dougiteixeira 02f0050819
Update `test_device_cleaning` in Derivative (#120162) 2024-06-22 15:54:35 +02:00
dougiteixeira 89b7bf2108
Add the ability to change the source entity of the Derivative helper (#119754) 2024-06-22 15:03:43 +02:00
Sid 00ec7f11f0
Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-03-19 09:01:07 +01:00
Marc Mueller 32f3f46542
Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
Jan-Philipp Benecke 81450f0117
Update d-e* tests to use entity & device registry fixtures (#103804) 2023-11-12 10:38:32 +01:00
Erik Montnemery 5bb271c9fb
Add config flow for derivative sensor (#68268) 2022-03-18 12:14:38 +01:00