Commit graph

53322 commits

Author SHA1 Message Date
ashionky
102c7f1959
Add Refoss integration ()
* refoss

* refoss

* refoss

* refoss

* refoss modify

* ip

* 8.22

* format

* format

* format

* bugfix

* test

* test

* test

* test

* test

* test

* 9.1

* refosss

* refoss

* refoss

* refoss

* refoss

* refoss

* refoss

* refoss

* test

* requirements_test_all.txt

* codeowners

* refoss

* Review feedback repair

* strings

* refoss

* refoss

* refoss

* 1.1.1

* 1.1.2

* refoss

* refoss

* refoss.1.1.7

* refoss-gree

* 1.1.7

* test

* refoss

* test refoss

* test refoss

* refoss-test

* refoss

* refoss

* test

* test

* refoss

* CODEOWNERS

* fix

* Update homeassistant/components/refoss/__init__.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-22 13:18:32 +01:00
Jan Bouwhuis
f536bc1d0c
Add valve support to Amazon Alexa ()
Add valve platform to Amazon Alexa
2023-12-22 12:08:06 +01:00
Brett Adams
b4f8fe8d4d
Add media player platform to Tessie ()
* Add media platform

* Add more props

* Fix platform filename

* Working

* Add a test

* Update test and fixture

* Refactor media player properties to handle null values

* Add comments

* add more assertions

* Fix test docstring

* Use walrus instead.

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Test  when media player is idle

* Fix tests

* Remove None type from volume_level

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Return media position only when a media duration is > 0

* Remove impossible None type

* Add snapshot and freezer

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-22 12:07:47 +01:00
RJPoelstra
2c2e6171e2
Add integration for Vogel's MotionMount ()
* Skeleton for Vogel's MotionMount support.

* Generated updates.

* Add validation of the discovered information.

* Add manual configuration

* Use a mac address as a unique id

* Add tests for config_flow

* Add a 'turn' sensor entity.

* Add all needed sensors.

* Add number and select entity for control of MotionMount

* Update based on development checklist

* Preset selector now updates when a preset is chosen

* Fix adding presets selector to device

* Remove irrelevant TODO

* Bump python-MotionMount requirement

* Invert direction of turn slider

* Prepare for PR

* Make sure entities have correct values when created

* Use device's mac address as unique id for entities.

* Fix missing files in .coveragerc

* Remove typing ignore from device library.

Improved typing also gave rise to the need to improve the callback mechanism

* Improve typing

* Convert property to shorthand form

* Remove unneeded CONF_NAME in ConfigEntry

* Add small comment

* Refresh coordinator on notification from MotionMount

* Use translation for entity

* Bump python-MotionMount

* Raise `ConfigEntryNotReady` when connect fails

* Use local variable

* Improve exception handling

* Reduce duplicate code

* Make better use of constants

* Remove unneeded callback

* Remove other occurrence of unneeded callback

* Improve removal of suffix

* Catch 'getaddrinfo' exception

* Add config flow tests for invalid hostname

* Abort if device with same hostname is already configured

* Make sure we connect to a device with the same unique id as configured

* Convert function names to snake_case

* Remove unneeded commented-out code

* Use tuple

* Make us of config_entry id when mac is missing

* Prevent update of entities when nothing changed

* Don't store data in `hass.data` until we know we will proceed

* Remove coordinator

* Handle situation where mac is EMPTY_MAC

* Disable polling

* Fix failing hassfest

* Avoid calling unique-id-less discovery handler for situations where we've an unique id
2023-12-22 12:04:58 +01:00
Brett Adams
c824d06a8c
Add number platform to Tessie ()
* Add number platform

* Make self.set consistent

* Fix test docstring

* Use entity descriptions

* Add patch_description to tests

* Rename argument to arg

* Make max key mandatory

* Set SOC min to normal value
2023-12-22 11:57:21 +01:00
Nerdix
9237740103
Increase version default timeout from 10 to 30 seconds ()
* Update __init__.py

* Update __init__.py

* Revert timeout changes

* Revert commit Revert timeout changes
2023-12-22 11:37:03 +01:00
Robert Resch
4d5bea7bcc
Deprecate deprecated switch constants () 2023-12-22 11:23:21 +01:00
Robert Resch
06220849fc
Deprecate deprecated water_heater constants () 2023-12-22 11:23:03 +01:00
Robert Resch
e18d2b8873
Deprecate deprecated device_registry helper constants () 2023-12-22 11:21:45 +01:00
Brett Adams
23fa86cc23
Add cover platform to Tessie ()
* Add cover platform

* fix case

* Remove virtual key issue

* Remove redundant logic

* Fix logic that I missed

* Add missing types

* Add missing type

* Update entity

* Make window name better

* Fix test

* Update docstrings and comments
2023-12-22 10:17:23 +01:00
Brett Adams
1170e72913
Add lock platform to Tessie ()
* Add lock platform

* Update tests

* fix test docstring
2023-12-22 10:11:48 +01:00
Brett Adams
abc57ea706
Quality improvements for Tessie ()
Quality improvements
2023-12-22 10:11:18 +01:00
Jon Caruana
72da0a0e1d
Bump pylitejet to v0.6.2 ()
Bump pylitejet to 0.6.2
2023-12-22 10:04:16 +01:00
Tobias Sauerwein
7ef20c4431
Fix Netatmo light switching states by assuming state until next update () 2023-12-22 07:37:57 +01:00
Brett Adams
8918a9c2c4
Add button platform to Tessie () 2023-12-21 16:40:55 -10:00
Brett Adams
e86ac568e1
Add device tracker to Tessie ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-21 14:28:58 -10:00
Robert Resch
8b08b5e8d2
Deprecate legacy_templates ()
* Deprecate legacy_templates

* Improve wording

* Implement suggestion

* simplify

* Add deleting of the repair issues back

* Update homeassistant/components/homeassistant/strings.json

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

* Test issue removal too

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-12-22 00:42:16 +01:00
Jan-Philipp Benecke
88ea5f7a54
Use call_soon_threadsafe in face processing of image_processing () 2023-12-22 00:38:49 +01:00
J. Nick Koston
e75357980a
Bump aiohttp-zlib-ng to 0.1.2 ()
fixes 
2023-12-22 00:03:42 +01:00
Diogo Alves
69f8514556
Fix lacrosse view sensor units ()
Fixed Unit values from sensor.py

There was a mistake on the units from the sensor that where messing up the device readings on rain, windchill and feels like sensors
2023-12-21 23:28:19 +01:00
Robert Resch
c4c422de79
Skip logging deprecated constant if the calling integration couldn't be indentified ()
* Add option to log only if a integreation is detected for a deprecated constant

* Require param

* Add test that log entry is not created

* typo
2023-12-21 23:19:40 +01:00
Cyrill Raccaud
9fbc15c28b
Bump python-opendata-transport to 0.4.0 ()
bump version to 0.4.0
2023-12-21 22:17:43 +01:00
Denis Shulyaka
9ba53e03ee
Bump httpx to 0.26.0 and httpcore to 1.0.2 () 2023-12-21 10:11:00 -10:00
Cyrill Raccaud
7e685f2bc7
Swiss public transport config flow ()
* add config flow

* unit tests

* yaml config import flow

* change deprecation period and simply code

* keep name for legacy yaml
- removing the name now would break current implementations
- it will be removed together with the deprectation of  yaml config flow

* improve error handling, simpler unique_id, cleanup

* simplify issues for yaml import flow

* improve typing and clean name handling

* streamline unit tests
- happy path + errors
- mock opendata instead of aiohttp

* parametrize unit tests

* improve strings

* add missing aborts

* update coverage ignore

* remove redundant test

* minor clean up of constants
2023-12-21 20:38:00 +01:00
J. Nick Koston
54f460b7c9
Improve performance of dhcp on high activity networks ()
* Improve performance of dhcp on high activity networks

Most of the overhead was constructing IPAddress objects
which is solved with https://github.com/bdraco/cached-ipaddress

* fix test

* fix: bump

* bump again

* lets do it on the correct branch
2023-12-21 20:36:09 +01:00
fwestenberg
f9c096687f
Bump Devialet to 1.4.5 ()
* Bump Devialet==1.4.4

* Bump Devialet to 1.4.5
2023-12-21 20:18:20 +01:00
DeerMaximum
dfc7ff8e64
Bump pyvlx to 0.2.21 ()
* Bump pyvlx to 0.2.21

* Fix typing

* Optimize fix
2023-12-21 18:28:42 +01:00
Robert Groot
d5c7ae5b34
Add Energyzero get_gas_prices and get_energy_price services ()
Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-21 15:39:51 +01:00
fwestenberg
39a956cea3
Bump Devialet to 1.4.4 ()
Bump Devialet==1.4.4
2023-12-21 15:00:11 +01:00
sdb9696
ab2f3381a5
Bump ring-doorbell to 0.8.5 () 2023-12-21 14:58:01 +01:00
Martin Hjelmare
e1f31194f7
Move cloud stt engine to config entry ()
* Migrate cloud stt to config entry

* Update default engine

* Test config flow

* Migrate pipelines with cloud stt engine to new engine id

* Fix test after rebase

* Update and add comment

* Remove cloud specifics from default stt engine

* Refactor cloud assist pipeline

* Fix cloud stt entity_id

* Try to wait for platforms before creating default pipeline

* Clean up import

* Move function in cloud assist pipeline

* Wait for tts platform loaded in stt migration

* Update deprecation dates

* Clean up not used fixture

* Add test for async_update_pipeline

* Define pipeline update interface better

* Remove leftover

* Fix tests

* Change default engine test

* Add test for missing stt entity during login

* Add and update comments

* Update config entry title
2023-12-21 13:39:02 +01:00
Jan-Philipp Benecke
f0104d6851
Remove gios sensor description required fields mixin () 2023-12-21 13:25:21 +01:00
David Bonnes
aa9f00099d
Make evohome strictly typed ()
* initial commit

* return to conventional approach

* add type hint for wrapper

* use walrus operator
2023-12-21 13:22:42 +01:00
Richard Kroegel
2b65fb22d3
Remove warning message on BMW initialization ()
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-12-21 13:12:25 +01:00
Brett Adams
13908cf5a6
Add update platform to Tessie ()
* Add version platform

* Add strings and test

* Remove potential for None

* Dont show progress when no update is running

* Return None for no update

* Add comment

* Remove future feature

* WIP

* Fix statuses

* update fixture

* Remove entity name

* Remove name correctly

* Use False for in_progress
2023-12-21 12:43:11 +01:00
Jan Bouwhuis
f263da843a
Fix typo's en and improve language on MQTT data descriptions ()
* Fix typo's en and prove language on MQTT data descriptions

* Update homeassistant/components/mqtt/strings.json

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/mqtt/strings.json

* Update homeassistant/components/mqtt/strings.json

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-12-21 12:32:24 +01:00
Jan Bouwhuis
f8f31627ce
Refactor ranging utils for mqtt cover ()
* Refactor ranging utils for mqtt cover

* Use literals for default min and max percentage
2023-12-21 11:54:05 +01:00
Michael
0614e291c1
Set WiFi QR code entity to unknown when Fritzbox is not available () 2023-12-21 10:29:01 +01:00
Matthias Alphart
46d63ad7ba
Allow Fronius devices to be deleted () 2023-12-21 10:02:38 +01:00
J. Nick Koston
235914c63a
Improve performance of dhcp integration client processing ()
We were using run_callback_threadsafe here which has the overhead
of creating a future and waiting for the result when we throw
it away.
2023-12-21 09:28:04 +01:00
Brett Adams
1d63c34816
Add flags to EntityDescriptions in Tessie ()
* Add SensorEntityDescription flags

* fix datclass attributes
2023-12-21 09:15:51 +01:00
J. Nick Koston
6845218a24
Bump bluetooth-data-tools to 1.19.0 () 2023-12-20 21:13:59 -10:00
Lucas Mindêllo de Andrade
48241771f6
Bump SunWEG to 2.0.3 ()
* chore(sunweg): bump version

* chore(sunweg): bump 2.0.3
2023-12-21 07:45:41 +01:00
puddly
bfaae77e51
Bump ZHA dependencies () 2023-12-21 07:44:36 +01:00
J. Nick Koston
e50fe79911
Update habluetooth to 2.0.0 () 2023-12-20 20:37:39 -10:00
Brett Adams
dbb726f41f
Add Select platform to Tessie ()
* Add select platform

* Add error coverage

* Fix case

* fix value

* Remove virtual key issue

* Add TessieSeatHeaterOptions enum and update TessieSeatHeaterSelectEntity options

* use ENUM in tests

* Porting other fixes

* Update entity
2023-12-21 07:34:31 +01:00
Phil Bruckner
126f0e4047
Bump life360 to 6.0.1 ()
* Bump life360 package to 6.0.1

Fix recent API issues.

* Update requirements files
2023-12-21 07:18:49 +01:00
tronikos
aa51b5f6d4
Add virtual integrations for AEP utilities supported by opower () 2023-12-21 06:44:40 +01:00
Brett Adams
e2cf4244ea
Add switch platform to Tessie ()
* Add switch platform

* Make functions mandatory

* Underscores

* Improvements
2023-12-21 06:34:52 +01:00
Brett Adams
7c5824b4f3
Add climate platform to Tessie ()
* Add climate platform

* Other fixes

* Use super native value

* change to _value

* Sentence case strings

* Add some more type definition

* Add return types

* Add some more assertions

* Remove VirtualKey error

* Add type to args

* rename climate to primary

* fix min max

* Use String Enum

* Add PRECISION_HALVES

* Fix string enum

* fix str enum

* Simplify run logic

* Rename enum to TessieClimateKeeper
2023-12-21 06:18:18 +01:00