1
mirror of https://github.com/home-assistant/core synced 2024-10-07 10:13:38 +02:00
Commit Graph

47 Commits

Author SHA1 Message Date
GitHub Action
47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
Franck Nijhof
b4c5bcf44d
Add diagnostics support to PVOutput (#64625) 2022-01-22 13:47:07 +01:00
GitHub Action
c6d481ca01 [ci skip] Translation update 2022-01-17 00:14:48 +00:00
GitHub Action
b949199866 [ci skip] Translation update 2022-01-15 00:14:21 +00:00
GitHub Action
0827608302 [ci skip] Translation update 2022-01-08 00:14:39 +00:00
Franck Nijhof
8864492e35
Mark PVOutput as platinum on the integration quality scale (#63453) 2022-01-05 19:26:43 +01:00
Franck Nijhof
ed791aa854
Add sensor tests to PVOutput (#63400) 2022-01-05 11:15:18 +01:00
GitHub Action
021a4f7106 [ci skip] Translation update 2022-01-04 00:14:15 +00:00
GitHub Action
93758e2e6c [ci skip] Translation update 2022-01-01 00:14:34 +00:00
GitHub Action
f205708e56 [ci skip] Translation update 2021-12-31 00:14:15 +00:00
GitHub Action
026ead2889 [ci skip] Translation update 2021-12-29 00:13:49 +00:00
Franck Nijhof
8b59b3baf4
Add device info to PVOutput (#62951) 2021-12-28 21:47:39 +01:00
Franck Nijhof
90a9d64f67
Add reauthentication handling to PVOutput (#62932) 2021-12-28 17:28:35 +01:00
Franck Nijhof
1c7efe7047
Update pvo to 0.2.0 (#62926) 2021-12-28 14:30:48 +01:00
Franck Nijhof
d63b7bc5f1
Extract attribute into sensor for PVOutput (#62894) 2021-12-28 08:33:40 +01:00
GitHub Action
4745e2fb3b [ci skip] Translation update 2021-12-28 00:14:11 +00:00
Franck Nijhof
cee0440ab6
Add unique ID to PVOutput entities (#62890) 2021-12-27 23:14:43 +01:00
Franck Nijhof
53fdcf1b6a
Add basic support for EntityDescription in PVOutput (#62887) 2021-12-27 23:01:00 +01:00
Franck Nijhof
1cfeb404b6
Add configuration flow to PVOutput (#62667)
* Add configuration flow to PVOutput

* Update homeassistant/components/pvoutput/sensor.py

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

* Update homeassistant/components/pvoutput/sensor.py

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

* Use account URL placeholder

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 22:05:10 +01:00
Franck Nijhof
79627526c7
Add strict typing to PVOutput (#62628) 2021-12-23 06:25:05 +01:00
Franck Nijhof
e3f7d9a803
Extract PVOutput logic into PyPi package (#62625) 2021-12-22 21:17:23 +01:00
Robert Hillis
5a268419f5
Use enums in pvoutput (#62073) 2021-12-16 22:25:04 +01:00
Paulus Schoutsen
17cf53677c
Rest fixes (#61296) 2021-12-08 14:35:50 -08:00
Jan Bouwhuis
17a542689f
Fix pvoutput template use and REST integer parsing (#61171)
* Fix pvoutput template use and REST integer parsing

* revert accepting templates as input
2021-12-08 19:32:25 +01:00
Erik Montnemery
3c5ba1fcc3
Remove last_reset attribute and set state class to total_increasing for PVOutput energy sensors (#54809) 2021-08-18 13:41:57 +02:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) (#54475) 2021-08-12 13:26:17 +02:00
Zoe ✨
ddbd455827
Add statistics support for the PVOutput sensor (#54149) 2021-08-06 09:56:27 -07:00
Paulus Schoutsen
fcc3d24904
We shouldn't add measurement without last_reset to metered entities (#54087) 2021-08-05 13:10:42 -07:00
Paulus Schoutsen
3655859be2
Add some metadata to pvoutput energy sensor (#54074) 2021-08-05 10:09:56 -07:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity (#48214) 2021-03-22 19:46:46 +01:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00
J. Nick Koston
dd0afc3b66
Create httpx helper to wrap a shared httpx.AsyncClient (#43877)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-12-09 17:18:57 +01:00
Moritz Schmitz von Hülst
434d39a5ea
Add initial rest query params (#42198)
* add initial rest query params

* of course I didn't run black

* fix tests

* fix tests

* add test

* reformat

* add binary sensor test

* fix tests

* add one more test and fix switch

* should not have touched that

* if you don't pay attention once
2020-11-11 09:03:55 -10:00
J. Nick Koston
5580b21260
Decouple RestData from rest.sensor (#41980) 2020-10-17 04:56:45 +02:00
J. Nick Koston
ad6ce5fa83
Convert rest sensors to async using httpx (#41973) 2020-10-16 19:21:13 -05:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
J. Nick Koston
cfa61a6b74
Properly define dependency for pvoutput integration on rest in… (#32435) 2020-03-03 09:25:50 -08:00
Franck Nijhof
dc02c28891 Correct names in manifests (M-P) (#30541) 2020-01-07 13:28:35 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier (#30521) 2020-01-06 21:28:23 +01:00
Bas Nijholt
21816eeed4 Sort imports according to PEP8 for components starting with "P" (#29775) 2019-12-09 14:29:39 +01:00
Franck Nijhof
c7da781efc Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests (#22699)
* Add manifests

* Update auto name

* Update codeowners

* Add requirements from platforms

* Minor cleanup

* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein
048b100eea Clean up docstrings (#22679)
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Penny Wood
f195ecca4b Consolidate all platforms that have tests (#22109)
* Moved climate components with tests into platform dirs.

* Updated tests from climate component.

* Moved binary_sensor components with tests into platform dirs.

* Updated tests from binary_sensor component.

* Moved calendar components with tests into platform dirs.

* Updated tests from calendar component.

* Moved camera components with tests into platform dirs.

* Updated tests from camera component.

* Moved cover components with tests into platform dirs.

* Updated tests from cover component.

* Moved device_tracker components with tests into platform dirs.

* Updated tests from device_tracker component.

* Moved fan components with tests into platform dirs.

* Updated tests from fan component.

* Moved geo_location components with tests into platform dirs.

* Updated tests from geo_location component.

* Moved image_processing components with tests into platform dirs.

* Updated tests from image_processing component.

* Moved light components with tests into platform dirs.

* Updated tests from light component.

* Moved lock components with tests into platform dirs.

* Moved media_player components with tests into platform dirs.

* Updated tests from media_player component.

* Moved scene components with tests into platform dirs.

* Moved sensor components with tests into platform dirs.

* Updated tests from sensor component.

* Moved switch components with tests into platform dirs.

* Updated tests from sensor component.

* Moved vacuum components with tests into platform dirs.

* Updated tests from vacuum component.

* Moved weather components with tests into platform dirs.

* Fixed __init__.py files

* Fixes for stuff moved as part of this branch.

* Fix stuff needed to merge with balloob's branch.

* Formatting issues.

* Missing __init__.py files.

* Fix-ups

* Fixup

* Regenerated requirements.

* Linting errors fixed.

* Fixed more broken tests.

* Missing init files.

* Fix broken tests.

* More broken tests

* There seems to be a thread race condition.
I suspect the logger stuff is running in another thread, which means waiting until the aio loop is done is missing the log messages.
Used sleep instead because that allows the logger thread to run. I think the api_streams sensor might not be thread safe.

* Disabled tests, will remove sensor in #22147

* Updated coverage and codeowners.
2019-03-18 23:07:39 -07:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests (#22096)
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00