Christopher Fenner
eca67eb901
Add ability to change heating programs for heat pumps in ViCare integration ( #110924 )
...
* heating programs
* fix heating program
* fix heating program
* remove commented code
* simplify
* Update types.py
* update vicare_programs in init
2024-05-14 17:01:34 +02:00
Christopher Fenner
9bae6d694d
Add secondary temperature sensor for DHW in ViCare ( #106612 )
...
* add temp2 sensor
* Update strings.json
2024-04-17 17:08:23 +02:00
Sid
6587ee20db
Enable Ruff TRY300 ( #114437 )
...
* Enable Ruff TRY300
* Update validation.py
* Address review comments
2024-03-30 10:37:59 +01:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Christopher Fenner
1ffc514528
Add battery discharge sensor to ViCare integration ( #113502 )
...
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2024-03-16 12:38:54 +01:00
Joost Lekkerkerker
49fc59548a
Improve lists in integrations [V-W] ( #113252 )
2024-03-13 19:38:04 +01:00
Folke Lemaitre
ba971890a9
Fix hvac_mode for viessmann devices with heatingCooling mode ( #113054 )
2024-03-11 15:05:31 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] ( #112705 )
2024-03-08 10:35:23 -05:00
Joost Lekkerkerker
dc2d83f131
Add icon translations to ViCare ( #112346 )
...
* Add icon translations to ViCare
* Add icon translations to ViCare
2024-03-06 12:35:30 +01:00
Christopher Fenner
faef5da1c5
Handle exception in ViCare integration ( #111128 )
2024-03-04 10:10:59 +01:00
Christopher Fenner
e0a8a9d551
Ignore unsupported devices (room sensors, floor heating) in ViCare integration ( #112106 )
...
* ignore unsupported devices
* Update __init__.py
* move unsupported device to const
* fix ruff
2024-03-04 07:56:45 +01:00
Erik Montnemery
9ec9ac4fd4
Migrate integrations u-z to generic flowhandler ( #111866 )
2024-02-29 20:08:16 +01:00
Christopher Fenner
1e564f777e
Add sensors for energy storage system to ViCare integration ( #106600 )
...
* add sensors for vitocharge
* add further sensors
* add unig getters
* remove icons
* Update strings.json
* handle percent uom
* handle unknown uom device class mapping
* add device class to sensor
* add sensor options
* Apply suggestions from code review
* fix
* align sensor naming
* add feed-in and consumption sensors for pcc
* Update strings.json
* battery symbol
* fix format
* remove obsolete device classes
* add icons
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* refactor
* modify lambda
* use helper
* Apply suggestions from code review
* Apply suggestions from code review
* Update strings.json
* Update sensor.py
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-02-26 09:59:58 +01:00
Christopher Fenner
88e9870f1c
Add number entities to change heat pump program temperatures in ViCare integration ( #109315 )
...
* add HeatingProgram type
* use HeatingProgram type
* add heatpump number sensors
* use HeatingProgram type
* Update strings.json
* rename HeatingProgram to Program
* remove commented code
* rename heating program type
* simplify
* Apply suggestions from code review
* Update strings.json
* Update const.py
* fix
* add heating program type
* correct imports
* Revert "fix"
This reverts commit 857dda59da
.
* Apply suggestions from code review
* Update strings.json
2024-02-22 18:58:38 +01:00
Christopher Fenner
1372cf5a18
Categorize burner and compressor sensors as diagnostic entities in ViCare integration ( #110653 )
...
Categorize Burner and Compressor start and runtime counters as diagnostic entities in ViCare integration
2024-02-15 17:29:17 +01:00
Christopher Fenner
47cbe8f00c
Add support for multiple devices linked to a Viessmann account ( #96044 )
...
* care about all devices
* use first device for diagnostics
* update constants
* handle multiple devices
* handle multiple devices
* handle multiple devices
* handle multiple devices
* handle multiple devices
* code style
* code style
* code style
* code style
* code style
* remove unused import
* remove unused import
* use has_entity_name and add serial to device name
* use has_entity_name and add serial to device name
* use has_entity_name and add serial to device name
* use has_entity_name and add serial to device name
* use has_entity_name and add serial to device name
* remove unused constant
* Update const.py
* Update binary_sensor.py
* change format
* change format
* fix line duplication
* fix line duplication
* change format
* fix typo
* use serial in device name if multiple devices are found
* add common base class
* use base class
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update sensor.py
* Update binary_sensor.py
* correct import
* use base class
* fix cdestyle findings
* fix pylint findings
* fix mypy findings
* fix codestyle finidings
* move has_entity_name to base class
* Revert "fix mypy findings"
This reverts commit 2d78801a69
.
* fix type issue
* move multiple device handling
* fix import
* remove special handling for device name
* extract api getter
* Update __init__.py
* Update __init__.py
* Update entity.py
* Update button.py
* Update binary_sensor.py
* Update climate.py
* Update sensor.py
* Update water_heater.py
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update __init__.py
* fix mypy & black
* move get_device to utils
* rename const
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev>
* store device in config entry
* extract types
* fix diagnostics
* handle new platform
* handle api rate limit
* add types
* add types
* rename
* add types
* ignore gateways for now
* Update .coveragerc
* adjust types
* fix merge issues
* rename
* Update types.py
* fix type
* add test method
* simplify
* ignore unused devices
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev>
* fix findings
* handle unsupported devices
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev>
* Update types.py
* fix format
* adjust variable naming
* Update conftest.py
* Update conftest.py
* remove kw_only
* Apply suggestions from code review
* Update __init__.py
* Update binary_sensor.py
* Update button.py
* Update climate.py
* Update const.py
* Update diagnostics.py
* Update number.py
* Update sensor.py
* Update types.py
* Update water_heater.py
* fix comment
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-15 13:58:00 +01:00
Christopher Fenner
bb8d742423
Ignore gateway devices in ViCare integration ( #106477 )
...
* filter unsupported devices
* Update __init__.py
* use debug
* remove dead code
2024-02-03 12:53:22 +01:00
G Johansson
29556465de
Add migrated climate feature flags to vicare ( #109439 )
2024-02-03 12:13:52 +01:00
Christopher Fenner
03daeda9db
Disable less interesting sensors by default in ViCare integration ( #109014 )
2024-02-02 11:28:51 +01:00
Christopher Fenner
2f312f56f6
Add fuelcell gas consumption sensors to ViCare integration ( #105461 )
...
* add fuel cell gas consumption sensors
* add total gas consumption sensors
* add uom
* Update strings.json
* reorder
* Revert "reorder"
This reverts commit 0bcaa3b4e6
.
* Revert "add uom"
This reverts commit b3c0dc4756
.
* Update sensor.py
2024-01-31 13:23:51 +01:00
Christopher Fenner
2dbc59fbea
Use home/sleep preset in ViCare climate entity ( #105636 )
...
* use home/sleep preset
* avoid setting reduced
2024-01-31 13:01:28 +01:00
G Johansson
73f670e793
Add TURN_ON/OFF ClimateEntityFeature for Vicare ( #109135 )
2024-01-30 17:59:58 +01:00
Christopher Fenner
19988b456c
Fix entity naming for heatpump heatings in ViCare ( #109013 )
...
Update strings.json
2024-01-28 19:07:14 +01:00
Christopher Fenner
6eec4998bd
Avoid changing state of reduced preset in ViCare integration ( #105642 )
2023-12-28 11:17:13 +01:00
Christopher Fenner
af881d7ac8
Handle AttributeError in ViCare integration ( #106470 )
2023-12-28 09:35:39 +01:00
Bart Janssens
a6af2be675
Skip activating/deactivating Vicare standby preset ( #106476 )
2023-12-28 09:31:35 +01:00
Christopher Fenner
50b960fb5e
Bump PyViCare to 2.32.0 ( #106467 )
2023-12-27 13:43:45 +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
Christopher Fenner
7480945465
Add number entities for program temperature in ViCare integration ( #103960 )
...
* add number platform
* Update .coveragerc
* reset default value
* fix default value
* cast Any value to float
* Apply suggestions from code review
* Update strings.json
* add translation keys
* remove obsolete unique id handling
* add eco program
* reset type
* remove name from entity
* Update strings.json
* Update strings.json
* rename
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* retype getter
* adjust interface
* use device classes
* check setter
* Revert "check setter"
This reverts commit 360e333159
.
* remove eco entity
* Update strings.json
* add eco sensor entity
* Revert "add eco sensor entity"
This reverts commit d64b38c548
.
* Update strings.json
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-02 22:44:49 +01:00
Christopher Fenner
ec647677e9
Update initial translation for ViCare water heater entity ( #104696 )
2023-11-30 01:38:33 +01:00
Christopher Fenner
c4e3ae84f4
Optimize async executor use in ViCare integration ( #104645 )
...
* use one async executor
* use list comprehension
* simplify
* simplify
* simplify
* simplify
* simplify
* simplify
* simplify
* simplify
* add type
* Apply suggestions from code review
* fix ruff findings
2023-11-29 09:28:56 +01:00
Christopher Fenner
5dc64dd6b9
Fix HA state update in ViCare number platform ( #104687 )
...
use sync update fn
2023-11-29 09:16:58 +01:00
Christopher Fenner
1ef97ab6f8
Set min, max, and step for ViCare number entities ( #104593 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-28 10:53:59 +01:00
Christopher Fenner
d1463a81d3
Fix async issue in ViCare climate entity ( #104619 )
...
* use async executor
* use async executor
* Revert "use async executor"
This reverts commit 4913e05b1c
.
* Revert "use async executor"
This reverts commit 40abc10362
.
* fix async issue
2023-11-28 10:19:20 +01:00
Christopher Fenner
a5934e9acc
Handle preset change errors in ViCare integration ( #103992 )
2023-11-27 15:35:43 +01:00
Christopher Fenner
ad17acc6ca
Fix async issue in ViCare integration ( #104541 )
...
* use async executor for get_circuits
* use async executor for get_burners and get_compressors
2023-11-26 15:28:58 +01:00
Christopher Fenner
e2e58c4495
Fix translation key in ViCare integration ( #104536 )
...
fix translation key
2023-11-26 10:49:06 +01:00
Christopher Fenner
76f78d7747
Bump PyViCare to 2.29.0 ( #104516 )
...
* Update requirements_all.txt
* Update requirements_test_all.txt
* Update manifest.json
2023-11-26 01:01:53 +01:00
Christopher Fenner
48f8cec84b
Add reuse functions to access circuits, burners and compressors in ViCare integration ( #104371 )
2023-11-25 15:47:45 +01:00
Christopher Fenner
17cef8940f
Add translation keys to ViCare integration ( #104425 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-11-25 13:11:29 +01:00
Christopher Fenner
556e72abf8
Add number entities to adjust heating curve in ViCare integration ( #103901 )
...
* add number entity
* use static constraints
* use async execute job
* add number platform
* Update .coveragerc
* remove unused code parts
* add types
* add missing return type
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Apply suggestions from code review
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
* fix docstrings
* fix variable names
* add unit of measurement
* remove obsolete unique id handling
* remove hass from constructor
* inline _entities_from_descriptions function
* fix return type
* rename variable
* Apply suggestions from code review
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
* Apply suggestions from code review
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
2023-11-23 07:29:28 +01:00
Christopher Fenner
5805601a83
Set unique_id by base entity in ViCare integration ( #104277 )
...
* set unique_id in ViCareEntity
* remove individual unique_id functions
* remove description
* remove individual _attr_unique_id
* fix return types
2023-11-21 09:53:02 +01:00
fb22
96bcc6c35a
Add Vicare volumetric flow and compressor phase sensors ( #103875 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-14 09:18:37 +01:00
Christopher Fenner
109bcd86f1
Add reauth flow to ViCare integration ( #103109 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-13 13:57:29 +01:00
Christopher Fenner
dda40c10d4
Add myself to vicare codeowners ( #103738 )
...
* Revert "Remove myself from vicare codeowners (#90755 )"
This reverts commit 21a873f0af
.
* Apply suggestions from code review
2023-11-10 11:31:14 +01:00
Christopher Fenner
22126a1280
Handle exception introduced with recent PyViCare update ( #103110 )
2023-10-31 13:42:52 +01:00
Christopher Fenner
5f09503cf3
Fix client id label in ViCare integration ( #103111 )
2023-10-31 10:35:51 +01:00
Christopher Fenner
bdfb138b09
Update PyViCare to v2.28.1 for ViCare integration ( #103064 )
2023-10-30 18:47:33 +01:00
Joost Lekkerkerker
1412c2ea6e
Add serial number to ViCare ( #102530 )
2023-10-22 16:52:38 +02:00