Commit Graph

36 Commits

Author SHA1 Message Date
Sid 3799d20d43
Enable Ruff B905 (#114197) 2024-04-14 00:14:26 -05:00
Marc Mueller 3c5089bc3f
Update import for EventStateChangedData [a-h] (#114899) 2024-04-04 11:48:36 -10:00
Marc Mueller aa16a9d707
Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller 25237e0377
Replace EventType with Event [a-g] (#112739) 2024-03-08 19:35:17 +01:00
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
J. Nick Koston 7fe2bfa990
Revert "Update numpy to 1.26.1" (#102036) 2023-10-15 05:42:25 -10:00
Marc Mueller 1f1a27d6a5
Update numpy to 1.26.1 (#102021) 2023-10-14 16:30:43 -10:00
Marc Mueller 48f9a38c74
Update numpy to 1.26.0 (#100512) 2023-09-17 09:49:21 -05:00
Marc Mueller 0cc396b863
Use EventType for state changed [a-h] (#97116) 2023-07-24 08:04:13 +02:00
Petro31 f9707cc87b
Add optional limits to compensation sensors (#85886)
Co-authored-by: Tom Harris <tomharris@harrisnj.net>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-26 14:36:59 -05:00
Erik Montnemery 87420e949d
Sort manifests 2 (#87023) 2023-02-08 20:16:39 +01:00
Franck Nijhof b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
epenet 09ab07921a
Improve type hint in compensation sensor entity (#77027) 2022-08-20 08:34:47 +02:00
epenet 0f792eb92e
Improve entity type hints [c] (#77023) 2022-08-19 13:02:46 +02:00
Franck Nijhof 3d567d2c1b
Update numpy to 1.23.2 (#76855) 2022-08-16 16:18:40 +02:00
Franck Nijhof 792c825699
Update numpy to 1.23.1 (#74851) 2022-07-10 14:58:05 -07:00
Franck Nijhof 105b1b9d58
Update numpy to 1.23.0 (#74250) 2022-06-30 10:04:59 -07:00
Pascal Vizeli 6cf9b22b5a
Python 3.10 / Base image 2022.06.01 (#73830)
* Python 3.10 / Base image 2022.06.01

* Update requirements

* push opencv

* we don't need numpy on core for now

* Remove unused ignore

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-06-22 12:04:39 -05:00
Pascal Vizeli f1733236bb
Revert "Bump numpy to v1.22.3 (#71393)" (#71407)
This reverts commit 225d41f82a.
2022-05-06 12:51:19 +02:00
epenet 225d41f82a
Bump numpy to v1.22.3 (#71393)
* Bump numpy to v1.22.3

* Fix mypy
2022-05-06 12:07:02 +02:00
Pascal Vizeli e145d3c65b
Bump numpy to 1.21.6 (#71325) 2022-05-05 10:12:39 +02:00
Petro31 5f9a351889
Remove warnings from compensation (#63691) 2022-01-13 18:33:02 +01:00
Franck Nijhof 146e1c5eb5
Revert "Update Numpy to 1.22.0 (#63559)" (#63648)
This reverts commit d8e1e1396c.
2022-01-07 17:11:39 -08:00
Franck Nijhof d8e1e1396c
Update Numpy to 1.22.0 (#63559)
* Update Numpy to 1.22.0

* Remove obsolete ignore
2022-01-06 18:51:13 +01:00
epenet 47812575d0
Add setup type hints [c-d] (#63428)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 15:05:22 +01:00
epenet 84221f656a
Add sensor setup type hints [c-d] (#63318)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:16:42 +01:00
Franck Nijhof af521c0a35
Upgrade numpy to 1.21.4 (#59188)
Co-authored-by: Marvin Wichmann <marvin.wichmann@unic.com>
2021-11-06 16:43:29 +01:00
Marc Mueller 9a58bfdf41
Use assignment expressions 17 (#57963)
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-10-20 17:42:26 +02:00
Franck Nijhof 83f1116432
Upgrade numpy to 1.21.2 (#56640) 2021-09-25 12:39:21 +02:00
Erik Montnemery 4e07ab1b32
Move temperature conversions to sensor base class (1/8) (#48261)
* Move temperature conversions to entity base class (1/8)

* Update integrations a-c

* Leave old temperature conversion until all integrations are migrated

* tweak

* Use contextlib.suppress

* Remove the MeasurableUnitEntity mixin

* Address comments, add tests

* Fix f-string

* Drop deprecation warning from base entity class

* Update with _attr-shorthand

* Fix rebase mistakes

* Fix additional rebase mistakes

* Only report temperature conversion once

* Fix additional rebase mistakes

* Format homeassistant/components/bbox/sensor.py

* Fix check for overidden _attr_state

* Remove test workarounds from implementation

* Remove useless None-check

* Tweaks

* Migrate new sensors a-c

* Update climacell

* Push deprecation of temperature conversion forward

* Override __repr__ in SensorEntity

* Include native_value in SensorEntity attributes

* Pylint

* Black

* Black

* Fix rebase mistakes

* black

* Fix rebase mistakes

* Revert changes in august/sensor.py

* Revert handling of unit converted restored state

* Apply code review suggestion

* Fix arlo test
2021-08-11 10:45:05 +02:00
Franck Nijhof 8743a03f14
Upgrade numpy to 1.21.1 (#53194) 2021-07-19 19:00:37 +02:00
Franck Nijhof 8fce858a76
Upgrade numpy to 1.21.0 (#52586) 2021-07-06 18:11:22 +02:00
Franck Nijhof c1be4cbd79
Upgrade numpy to 1.20.3 (#50660) 2021-05-15 12:28:03 -04:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Petro31 545fe7a7be
Add Compensation Integration (#41675)
* Add Compensation Integration

Adds the Compensation Integration

* Add Requirements

add missing requirements to compensation integration

* Fix for tests

Fix files after tests

* Fix isort

ran isort

* Handle ADR-0007

Change the configuration to deal with ADR-0007

* fix flake8

Fix flake8

* Added Error Trapping

Catch errors.
Raise Rank Warnings but continue.
Fixed bad imports

* fix flake8 & pylint

* fix isort.... again

* fix tests & comments

fix tests and comments

* fix flake8

* remove discovery message

* Fixed Review changes

* Fixed review requests.
* Added test to test get more coverage.

* Roll back numpy requirement

Roll back numpy requirement to match other integrations.

* Fix flake8

* Fix requested changes

Removed some necessary comments.
Changed a test case to be more readable.

* Fix doc strings and continue

* Fixed a few test case doc strings
* Removed a continue/else

* Remove periods from logger

Removed periods from _LOGGER errors.

* Fixes

changed name to unqiue_id.
implemented suggested changes.

* Add name and fix unique_id

* removed conf name and auto construct it
2021-04-03 22:42:09 +02:00