Commit graph

51 commits

Author SHA1 Message Date
Ville Skyttä
5aadd7ffc9
Import util.dt as dt_util in components/[g-i]* () 2023-05-30 00:01:00 +03:00
epenet
bb3e0633a4
Add init return type to integrations ()
Add type hints to integrations
2023-02-06 11:37:25 +01:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks () 2023-02-03 23:51:27 +01:00
Chris Straffon
eba64f84ef
Fix growatt identification issue ()
Fixes https://github.com/home-assistant/core/issues/84600
fixes undefined
2022-12-30 15:33:30 +01:00
Franck Nijhof
cb13418bab
String formatting and max line length - Part 2 () 2022-12-22 11:38:59 +01:00
muppet3000
186e3a6d98
Re-add missing Growatt TLX values ()
* Growatt - Re-adding missing TLX values ()

* Growatt - Added missing files to .coveragerc

* Growatt - Correcting TLX Voltage types

* Growatt - Addressing review comments
2022-12-16 15:31:49 +01:00
muppet3000
d243da99c7
Bump growattServer to 1.3.0 ()
* Growatt library bump and init tweak ()

* Addressing review comments ()
2022-11-30 10:56:47 +01:00
muppet3000
93401df73f
Fix Growatt incorrect energy dashboard values for grid import ()
* Fix Growatt incorrect energy dashboard values for grid import ()

* Growatt - addressing review comments ()

* Growatt - addressing more review comments ()
2022-11-16 10:41:14 +01:00
muppet3000
096ef85c68
Bump growattServer to 1.2.4 ()
Growatt - Library bump to workaround for 
2022-11-14 10:41:25 +01:00
epenet
b043053aad
Improve entity type hints [g] () 2022-08-26 11:37:12 +02:00
Dave Atherton
324f5555ed
Change growatt server URL ()
Co-authored-by: Chris Straffon <c.m.straffon@gmail.com>
2022-08-19 11:51:27 +02:00
muppet3000
6b4e9374b7
Fix timezone for growatt lastdataupdate ()
* Added timezone for growatt lastdataupdate ()

* Growatt lastdataupdate set to local timezone
2022-03-07 10:14:05 +01:00
muppet3000
81a509e69e
Fix data type for growatt lastdataupdate () ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-03-03 15:05:13 -08:00
epenet
2f8d99bf5d
Remove integrations from mypy ignored modules (part 2) ()
* Adjust dhcp

* Adjust growatt_server

* Adjust habitica

* Adjust home_connect

* Adjust iaqualink

* Adjust incomfort

* Adjust input_number

* Adjust ipp

* Adjust mypy_config

* Unindent input-number

* Fix type hint in home_connect

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-19 09:00:09 +01:00
epenet
30a64bd0f2
Add sensor setup type hints [g-h] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:13:59 +01:00
muppet3000
ac08d05b76
Refactor Growatt sensor types () 2021-10-27 11:09:57 +02:00
Robert Hillis
63646a19cc
Use DeviceInfo Class F-G () 2021-10-23 12:01:21 +02:00
indykoning
325d5e1c22
Create devices for Growatt () 2021-10-09 11:36:38 -07:00
indykoning
f76cb12945
Fix Growatt login invalid auth response () 2021-10-05 12:31:23 -07:00
Erik Montnemery
55328d2c6f
Adjust state class of growatt_server lifetime energy sensors () 2021-09-30 13:48:01 +02:00
João Pedro Hickmann
a967a1d1df
Get the currency from the api () 2021-09-29 16:25:07 -07:00
muppet3000
19054e1ffe
Bump growattServer to 1.1.0 () 2021-09-15 10:08:15 +02:00
JasperPlant
afc0a1f376
Add TLX daily power meter. for Growatt () 2021-08-31 11:55:23 +02:00
JasperPlant
4a2eeed1e8
Growatt server integration add TLX support () 2021-08-23 10:55:38 +02:00
JasperPlant
12ad6b8a2b
Add growatt total state_class for storage () 2021-08-20 14:08:28 +02:00
Geoffrey
017b8d3615
Add energy management support to Growatt server integration ()
Co-authored-by: Chris Straffon <c.m.straffon@gmail.com>
2021-08-20 10:53:48 +02:00
Erik Montnemery
6de6a5dc14
Move temperature conversions to sensor base class (3/8) ()
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +02:00
Marc Mueller
b42ac8b48f
Use EntityDescription - growatt_server () 2021-08-09 23:53:39 +02:00
Franck Nijhof
1c7891fbee
Remove deprecated YAML configuration from Growatt () 2021-08-09 14:54:42 +02:00
Franck Nijhof
3bf06de363
Fix growat server config entry missing URL key () 2021-08-02 09:48:17 -07:00
muppet3000
18ec0544b9
Allow for alternative external Growatt servers () 2021-07-21 10:16:02 +02:00
Marc Mueller
074d762664
Rename and reorganize electric unit constants () 2021-07-20 20:06:23 +02:00
muppet3000
456755c077
Adjust Growatt PV units from W to kW () 2021-06-22 13:15:38 +02:00
muppet3000
207ee39d00
Bump growattServer library () 2021-05-14 09:50:41 +02:00
indykoning
85f758380a
Add Growatt Server Config flow ()
* Growatt Server Config flow

* Use reference strings

Co-authored-by: SNoof85 <snoof85@gmail.com>

* Remove configuration.yaml import logic

* Removed import test

* Re-added PLATFORM_SCHEMA validation

* Import yaml from old yaml configuration

* Apply suggestions from code review

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

* Feedback

* Use Executor for IO only

* Fix imports

* update requirements

* Fix flake8

* Run every section of fetching devices in single executor

* Config flow feedback

* Clean up

* Fix plan step

* Fix config flow test

* Remove duplicate test

* Test import step

* Test already configured entry

* Clean up tests

* Add asserts

* Mock out entry setup

* Add warning if set up via yaml

Co-authored-by: SNoof85 <snoof85@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-10 22:46:50 +02:00
muppet3000
0ca3186caf
Add 'mix' system support for Growatt integration ()
* Added 'mix' system support for Growatt integration

* Changed Growatt "Last Data Update" to a timestamp

* Changed Growatt "Last Data Update" to UTC

* Accepted suggested change for Growatt  "Last Data Update"

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 15:40:30 +02:00
Erik Montnemery
339a56e434
Migrate integrations f-h to extend SensorEntity () 2021-03-22 19:45:17 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
springstan
7de1fe7416
Use percentage constant in more integrations () 2020-09-19 10:30:22 -05:00
springstan
000d2047fb
Add and use currency constants () 2020-09-15 15:01:01 -06:00
indykoning
92adb5d58a
Add new growatt_server device class constants () 2020-08-15 18:04:49 +02:00
indykoning
b7275de837
Get more detailed info for growatt_server ()
* Get more detailed info including inverter temperature

* Bump version to 0.1.1
2020-08-14 19:54:10 -05:00
indykoning
d278dd9477
Add growatt battery devices ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-16 21:16:29 +02:00
springstan
b42a197293
Add and use ELECTRICAL_CURRENT_AMPERE, ELECTRICAL_VOLTAGE_AMPERE constants ()
* Add and use ELECTRICAL_CURRENT_AMPERE constant

* Add and use ELECTRICAL_VOLTAGE_AMPERE constant

* Rename ELECTRICAL_VOLTAGE_AMPERE to ELECTRICAL_VOLT_AMPERE

* Fix imports
2020-05-17 15:58:31 +02:00
springstan
ef9d9b17bd
Drop UNIT_ prefix for constants ()
* Drop UNIT_ prefix for VOLT

* Drop UNIT_ prefix for DEGREE

* Drop UNIT_ prefix for CONDUCTIVITY

* Drop UNIT_ prefix for UV_INDEX

* Run isort
2020-04-21 19:45:53 +02:00
springstan
19dd797dfe
Add and use frequency constants () 2020-04-12 22:44:31 +02:00
springstan
f839ba00eb
Use POWER_WATT constant () 2020-04-11 15:40:59 +02:00
springstan
04c4501455
Add and use UNIT_VOLT constant ()
* Add and use UNIT_VOLT constant

* Run isort
2020-04-11 02:04:58 +02:00
springstan
02c9e47db8
Use ENERGY_KILO_WATT_HOUR constant () 2020-04-10 20:21:29 +02:00
Bas Nijholt
d58e6e924a Sort imports according to PEP8 for components starting with "G" () 2019-12-09 14:17:36 +01:00