Commit graph

32 commits

Author SHA1 Message Date
Joost Lekkerkerker
b48032e37e
Remove entity description mixin in PECO (#112915) 2024-03-11 12:03:33 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
Joost Lekkerkerker
b0136ee244
Add icon translations to PECO (#112169) 2024-03-05 09:19:37 +01:00
Erik Montnemery
e0c1feb22c
Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
Jan-Philipp Benecke
1c5be598f5
Run pylint sorted platform check also when platform has type annotations (#111407) 2024-02-25 21:18:07 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Erik Montnemery
84329844fd
Disable config flow progress in peco config flow (#105222) 2023-12-07 13:25:23 +01:00
IceBotYT
526180a8af
Add PECO smart meter binary_sensor (#71034)
* Add support for PECO smart meter

* Add support for PECO smart meter

* Conform to black

* Fix tests and additional clean-up

* Return init file to original state

* Move to FlowResultType

* Catch up to upstream

* Remove commented code

* isort

* Merge smart meter and outage count into one entry

* Test coverage

* Remove logging exceptions from config flow verification

* Fix comments from @emontnemery

* Revert "Add support for PECO smart meter"

This reverts commit 36ca90856684f328e71bc3778fa7aa52a6bde5ca.

* More fixes
2023-11-29 09:08:27 +01:00
Joost Lekkerkerker
e9af99e469
Add entity translations to PECO (#98847) 2023-08-22 23:10:02 +02:00
Joost Lekkerkerker
afc3899a1b
Add device info to peco (#98836) 2023-08-22 22:16:30 +02:00
Erik Montnemery
1450b44c63
Sort manifests 7 (#87028) 2023-02-08 20:32:43 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action
03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action
32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action
5d8e1b8387 [ci skip] Translation update 2022-07-12 00:24:26 +00:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
IceBotYT
8e6fa54e0a
Improve PECO integration (#73460) 2022-06-14 21:08:47 +02:00
GitHub Action
b6b72f50ec [ci skip] Translation update 2022-05-22 00:22:43 +00:00
GitHub Action
3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
GitHub Action
37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
IceBotYT
1fb261cdc5
Code quality improvements to PECO (#70301) 2022-04-19 22:45:27 +02:00
IceBotYT
6c75eaa1bc
Add outage map alerts to PECO (#69825) 2022-04-18 23:22:14 +02:00
epenet
9aac5d6af1
Prettify json (#68895) 2022-03-30 12:15:04 +02:00
epenet
ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
IceBotYT
5cd532b16a
Improve code quality of PECO integration (#68865) 2022-03-30 09:50:25 +02:00
IceBotYT
fb14ae211e
Add support for static typing for the PECO library (#68707) 2022-03-29 08:47:20 +02:00
Paulus Schoutsen
5eee600fa8
Ban brand name translations as step titles (#68801) 2022-03-28 10:41:39 -07:00
IceBotYT
a43505a0a3
Add PECO power outage counter integration (#65194)
* Create a new NWS Alerts integration

* Create a new NWS Alerts integration

* Create new PECO integration

* Remove empty keys

* Revert "Create a new NWS Alerts integration"

This reverts commit 38309c5a87.

* Revert "Create a new NWS Alerts integration"

This reverts commit aeabdd37b8.

* Fix test with new mock data

* Add init and sensor to .coveragerc and more tests for config flow

* Small fixes and replacing patch with pytest.raises in testing invalid county

* Add type defs and fix test_config_flow to use MultipleValid instead

* Fix  issues with 'typing.Dict'

* Move API communication to seperate PyPI library

* Switch PyPI library from httpx to aiohttp to allow for passing in websessions

* Commit file changes requested by farmio as listed here: d267e4300a

* Add suggestions requested by farmio as listed here: 586d8ffa42

* Move native_unit_of_measurement from prop to attr

* Update PLATFORMS constant type annotation

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Add peco to .strict-typing

I am from school so I can't run mypy atm

* Forgot to import Final

* Do as requested [here](5070634928)

* Updated mypy.ini, checks should pass now

* Fix to conform to mypy restrictions 5072861837\?check_suite_focus\=true

* Fix type annotations

* Fix tests

* Use cast in async_update_data

* Add data type to CoordinatorEntity and DataUpdateCoordinator

* More cleanup from suggestions here: https://github.com/home-assistant/core/pull/65194\#pullrequestreview-908183493

* Fix tests for new code

* Cleaning up a speck of dust

* Remove unused variable from the peco sensor

* Add rounding to percentage, and extra clean-up

* Final suggestions from @farmio

* Update SCAN_INTERVAL to be a little bit faster

* Change the SCAN_INTERVAL to be somewhat near the update interval of the outage map, as noted by farmio

* New UpdateCoordinator typing
2022-03-21 23:56:53 +01:00