Commit graph

167 commits

Author SHA1 Message Date
Euan de Kock
d7ac53ae93
Update const.py to add new Australian Server URL (#126714)
Growatt is now redirecting Australian users to a new server. This adds support for this server.
2024-09-25 18:04:03 +02:00
Jan-Philipp Benecke
53c23dfb6f
Use debug/warning instead of info log level in components [g] (#126032) 2024-09-16 11:41:26 +02:00
epenet
21d3f15059
Move growatt_server sensor definitions (#125755) 2024-09-12 07:58:05 +02:00
epenet
c4b870bfd3
Add EntityDescription classes to pylint plugin (#125596)
* Add EntityDescription classes to pylint plugin

* Ignore existing violations

* Adjust
2024-09-11 11:30:35 +02:00
epenet
afa02dcce9
Improve type hints in growatt_server config flow (#124901) 2024-08-30 11:25:29 +02:00
epenet
58b7711bdd
Improve config flow type hints (part 3) (#124346) 2024-08-25 18:36:03 +02:00
flopp999
bc02925630
Fix growatt server tlx battery api key (#123191) 2024-08-06 10:21:48 +02:00
Cris-ET
60e1df2a87
Add new entities for the Growatt Storage inverter (#121507) 2024-07-08 21:47:40 +02:00
Cris-ET
3e8335f61b
Define state_class for Growatt inverter entities (#121516) 2024-07-08 15:08:08 +02:00
Cris-ET
bd4ef4b2ff
Define state_class for Growatt storage entities (#121514) 2024-07-08 13:03:06 +02:00
Cris-ET
130dbcb3f1
Add PPV2 entity for Growatt storage inverter (#121052) 2024-07-05 20:20:56 +01:00
J. Nick Koston
5a609c34bb
Fix blocking I/O in the event loop when loading timezones (#117721) 2024-05-20 11:06:03 +02:00
Marco van 't Wout
b426c4133d
Improve error handling for HTTP errors on Growatt Server (#110633)
* Update dependency growattServer for improved error details

Updating to latest version. Since version 1.3.1 it will raise requests.exceptions.HTTPError for unexpected API responses such as HTTP 405 (rate limiting/firewall)

* Improve error details by raising ConfigEntryAuthFailed

Previous code was returning None which the caller couldn't handle

* Use a more appropiate exception type

* Update homeassistant/components/growatt_server/sensor.py

* Update homeassistant/components/growatt_server/sensor.py

* Fix

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-04-29 12:02:49 +02:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
Jiayi Chen
4e2f599720
Update Growatt server URLs (#109122) 2024-02-07 09:35:50 +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
Chris Straffon
c621c5df39
Removed codeowner for growatt_server (#103970) 2023-11-14 16:40:55 +01:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Meow
024d646526
Aligned integration manifest files (#97175) 2023-07-25 08:33:56 +02:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Joost Lekkerkerker
27e4bca1b3
Fix Growatt translation key (#95784) 2023-07-03 18:36:37 +02:00
Jan Bouwhuis
e5eb5dace5
Fix translation growatt inverter temperature (#95775) 2023-07-03 16:41:51 +02:00
Joost Lekkerkerker
4393aa4f50
Add entity translations to Growatt Server (#95410)
* Add entity translations to Growatt Server

* Fix feedback
2023-06-28 15:28:01 +02:00
Ville Skyttä
5aadd7ffc9
Import util.dt as dt_util in components/[g-i]* (#93759) 2023-05-30 00:01:00 +03:00
Chris Straffon
132bc5a4f2
Update growatt_server owners (#87804) 2023-02-12 20:12:05 +01:00
Erik Montnemery
899adef590
Sort manifests 4 (#87025) 2023-02-08 20:27:05 +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
epenet
bb3e0633a4
Add init return type to integrations (#87523)
Add type hints to integrations
2023-02-06 11:37:25 +01:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks (#87344) 2023-02-03 23:51:27 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
GitHub Action
ce79b26ab6 [ci skip] Translation update 2023-02-03 00:25:31 +00:00
GitHub Action
0f6f63da64 [ci skip] Translation update 2023-01-29 00:26:29 +00:00
GitHub Action
072f228e4d [ci skip] Translation update 2023-01-28 00:23:36 +00:00
GitHub Action
7ab88fa713 [ci skip] Translation update 2023-01-26 00:23:39 +00:00
GitHub Action
9636fe4602 [ci skip] Translation update 2023-01-25 00:24:21 +00:00
Ville Skyttä
5f0adfe6e4
Add missing config flow abort strings (#86180)
* Add missing `already_configured` and `already_in_progress` abort strings

* Note required strings.json entries in config_entries aborting functions
2023-01-24 08:59:32 +02:00
GitHub Action
b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
Chris Straffon
eba64f84ef
Fix growatt identification issue (#84628)
Fixes https://github.com/home-assistant/core/issues/84600
fixes undefined
2022-12-30 15:33:30 +01:00
GitHub Action
cc27986cac [ci skip] Translation update 2022-12-28 00:22:40 +00:00
Franck Nijhof
cb13418bab
String formatting and max line length - Part 2 (#84393) 2022-12-22 11:38:59 +01:00
epenet
9580c4f1ec
Use UnitOfTemperature in integrations (e-h) (#84305) 2022-12-20 18:29:16 +01:00
epenet
0dd20fb309
Use UnitOfEnergy in integrations (a-n) (#84220) 2022-12-19 11:06:00 +01:00
muppet3000
186e3a6d98
Re-add missing Growatt TLX values (#84040)
* Growatt - Re-adding missing TLX values (#81470)

* Growatt - Added missing files to .coveragerc

* Growatt - Correcting TLX Voltage types

* Growatt - Addressing review comments
2022-12-16 15:31:49 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
epenet
85235ea5f6
Use FREQUENCY device class in integrations (#83916)
* Use FREQUENCY device class in integrations

* Adjust tesla

* Undo goodwe

* Adjust cpuspeed tests
2022-12-13 14:14:42 +01:00
epenet
4fe025b297
Use UnitOfPower in integrations [a-g] (#83812) 2022-12-12 11:48:09 +01:00
GitHub Action
f19a1147fe [ci skip] Translation update 2022-12-11 00:26:24 +00:00
epenet
7c3ca38eb7
Use UnitOfElectricCurrent in integrations (#83622) 2022-12-09 10:51:26 +01:00