Commit graph

79 commits

Author SHA1 Message Date
Marc Mueller
b413e481cb
Update numpy to 2.1.3 (#130191) 2024-11-09 10:12:52 +01:00
Marc Mueller
56212c6fa5
Update numpy to 2.1.2 and pandas to 2.2.3 (#129958) 2024-11-07 08:24:47 +01:00
G Johansson
e32d6cdecd
Allow Trend title to be translated (#128926) 2024-10-21 20:10:54 +02:00
G Johansson
5986646af4
Use shorthand attribute in trend binary sensor (#128614)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-10-18 09:21:07 +02:00
Marc Mueller
c8964a1c80
Update numpy to 1.26.4 (#126660) 2024-09-24 18:23:20 +02:00
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 (#124771) 2024-08-28 13:48:13 +02:00
epenet
399130bc95
Force alias when importing binary sensor PLATFORM_SCHEMA (#120510) 2024-06-26 10:54:19 +02:00
dougiteixeira
0b5c533669
Link the Trend helper entity to the source entity device (#119755) 2024-06-22 15:31:47 +02:00
Marc Mueller
0f03079065
Update import for EventStateChangedData [i-z] (#114900) 2024-04-04 11:48:29 -10:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller
3db28d46b2
Replace EventType with Event [t-z] (#112742) 2024-03-08 19:37:26 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
Joost Lekkerkerker
98fa4b3d3c
Add icon translations to Trend (#112325) 2024-03-05 14:19:01 +01:00
Jan-Philipp Benecke
08e3178682
Allow configuration of min_gradient from UI to be negative in Trend (#107720)
Allow configuration of min_gradient to be negative from UI
2024-01-10 14:03:02 +01:00
Jan-Philipp Benecke
e04fda3fad
Add config flow to trend (#99761)
* Add config flow to trend

* Remove device_class from options flow

* Add min_samples and import step to config flow

* Fix import

* Fixing tests and some cleanup

* remove unneeded usefixtures

* Apply code review suggestions

* Re-add YAML support

* Re-add reload service

* Fix import

* Apply code review suggestions

* Add test coverage for yaml setup

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-27 14:46:57 +01:00
Jan-Philipp Benecke
f59588b413
Make the minimum number of samples used by the trend sensor configurable (#101102)
* Make the minimum of samples configurable & raise issue when min_samples > max_samples

* Wording

* Remove issue creation and use a custom schema validator

* Remove issue from strings.json

* Add test for validator and fix error message
2023-11-30 15:41:58 +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
Jan-Philipp Benecke
c0c02bf6bb
Restore state of trend sensor (#100332)
* Restoring state of trend sensor

* Handle unknown state & parametrize tests
2023-09-27 18:28:27 +02:00
Marc Mueller
48f9a38c74
Update numpy to 1.26.0 (#100512) 2023-09-17 09:49:21 -05:00
Jan-Philipp Benecke
7a6c8767b3
Improve typing of trend component (#99719)
* Some typing in trend component

* Add missing type hint

* Enable strict typing on trend
2023-09-06 18:51:38 +02:00
Jan-Philipp Benecke
f41b045244
Use shorthand attributes in Trend (#99695) 2023-09-06 09:55:25 +02:00
Marc Mueller
8c870a5683
Use EventType for state changed [m-z] (#97118) 2023-07-24 08:07:07 +02:00
Joost Lekkerkerker
b367c95c81
Add more common translations (#96429)
* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof
c431fc2297
Migrate reload only helper services to support translations (#96344) 2023-07-11 20:56:21 +02:00
Erik Montnemery
b0b1d8143f
Sort manifests 10 (#87031) 2023-02-08 20:41:50 +01:00
Jack Boswell
3d3aa824b3
Refactor Trend to use async_setup_platform (#78216)
* Move trend constants to const.py

* Migrate to async_setup_platform

* Fix test

* Reorder attrs
2022-09-28 08:46:13 +02:00
epenet
458001a06e
Improve entity type hints [t] (#77883) 2022-09-06 13:35:52 +02:00
epenet
2b9116f1f8
Use _attr_should_poll in components [s-t] (#77368)
* Use _attr_should_poll in components [s-t]

* Adjust touchline

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-26 22:03:50 -04: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
Marc Mueller
021debb5c5
Resolve implicit imports (#63832) 2022-01-10 17:10:46 +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
862daff622
Add binary_sensor setup type hints [s-z] (#63271)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:13:03 +01:00
Sebastian Lövdahl
53f4a3d8bc
Use Platform constants all over the place 3/3 (#62954) 2021-12-28 21:24:27 +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
62c20860ac
Use assignment expressions 22 (#57971) 2021-10-21 08:33:10 +02:00
Franck Nijhof
83f1116432
Upgrade numpy to 1.21.2 (#56640) 2021-09-25 12:39:21 +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
tkdrob
d37a3cded0
Add targets and selectors for services (S-T) (#50629) 2021-05-14 22:30:41 -07:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Franck Nijhof
528095b9b6
Upgrade numpy to 1.20.2 (#48597) 2021-04-01 13:32:49 -07:00