Christopher Fenner
d68da74790
Add number entities to set target temp for cooling programs in ViCare ( #127267 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 13:28:12 +01:00
Christopher Fenner
bc3a42c658
Fix serial handling in ViCare integration ( #125495 )
...
* hand down device serial into common entity
* fix platforms
* Revert "fix platforms"
This reverts commit 067af2b567
.
* handle event loop issue
* hand in serial
* Revert "Revert "fix platforms""
This reverts commit 9bbb55ee6d
.
* fix get serial call
* handle other exceptions
* also check device model for migration
* merge entity and device migration
* add test fixture without serial
* adjust test cases
* add dummy fixture
* remove commented code
* modify migration
* use continue
* break comment
2024-09-19 11:03:54 +02:00
Christopher Fenner
b23297bb7e
Add hysteresis entity for heat pumps via ViCare ( #124294 )
...
* add hysteresis entity
* update PyViCare-neo dependency
* add hysteresis switch on / of entities
* Revert "add hysteresis entity"
This reverts commit dcb5680d0c
.
2024-09-04 20:32:40 +02:00
Christopher Fenner
f34b449f61
Correct device serial for ViCare integration ( #125125 )
...
* expose correct serial
* adapt inits
* adjust _build_entities
* adapt inits
* add serial data point
* update snapshot
* apply suggestions
* apply suggestions
2024-09-03 12:50:05 +02:00
Christopher Fenner
9e2360791d
Add hot water target temp number entity in ViCare integration ( #123633 )
...
* add DHW target temp number entity
* Update number.py
* Update strings.json
* Update strings.json
* update test snapshot
* fix snapshot
2024-08-30 11:22:48 +02:00
Christopher Fenner
0591b5e47b
Improve code quality for ViCare integration ( #124613 )
...
* move type to module
* set translation key outside of init
* align import alias
* align constructor parameter order/naming
* move static attr init outside init function
* add missing types
* fix test
* revert move of _attributes
2024-08-26 08:30:28 +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
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
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
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
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
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
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
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