1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00
Commit Graph

70131 Commits

Author SHA1 Message Date
J. Nick Koston
eb3fde7261 Avoid clearing the attr cache in setter when nothing has changed (#106384) 2023-12-25 09:13:48 -10:00
J. Nick Koston
50f64e053e Use identity checks for sensor device class enums (#106383) 2023-12-25 08:35:44 -10:00
Jan Bouwhuis
3016dbc2bd Enable toggle on valve/cover start in google_assistant (#106378) 2023-12-25 15:40:17 +01:00
Brett Adams
04a56eaabe Add data model to Tessie (#106285)
Add data model
2023-12-25 13:01:13 +01:00
G Johansson
123b2669f3 Add full coverage to Fast.com (#105596)
* Add full test coverage for Fast.com

* Remove not needed

* Add service deprecated test

* Rename speedtest

* Extend delay test
2023-12-25 12:04:07 +01:00
Brett Adams
4c11cb78c8 Add delay to manual refresh in Advantage Air (#104918)
* Add debouncer

* Avoid having 3 calls

* Debounce causes extra refresh in reload window

* Seperate disabled test to avoid latent refresh

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-25 12:01:59 +01:00
Maciej Bieniek
d59142a595 Add missing sensors for Shelly Pro Dimmer 2PM (#105008)
Add missing sensors for Shelly Pro Dimmer 2
2023-12-25 07:02:57 +01:00
Kevin Worrel
f45f0b4327 Split out shared screenlogic switch code (#106344) 2023-12-24 11:51:43 -10:00
jan iversen
9066555feb Deprecate parameter "retries" in modbus (#105024) 2023-12-24 16:47:22 +01:00
Patrick Frazer
771409579a Add select platform to drop_connect integration (#106309)
* Add select platform to drop_connect integration

* Fix select test

* Fix minor issues

* Make function definition more specific

* Revert change to switch.py for inclusion in separate PR

* Improve typing

* Add translation keys for select options

* Fix set function typing

* Remove redundant value check

* Remove args that match defaults
2023-12-24 15:03:10 +01:00
Dave T
0a4e82f190 Bump temperusb to 1.6.1 (#106346) 2023-12-24 12:23:26 +01:00
Sid
4ee0666efd Bump openwebifpy to 4.0.2 (#106345)
bump openwebifpy to 4.0.2
2023-12-24 12:22:53 +01:00
mkmer
fc349b0875 Missing exception on relogin in Honeywell (#106324)
Missing exception on relogin
2023-12-23 21:11:51 -05:00
J. Nick Koston
3d6fb60e93 Add support for attribute caching to the vacuum platform (#106332) 2023-12-23 15:36:45 -10:00
Joost Lekkerkerker
c7cb508896 Add diagnostics to ccm15 (#106329)
* Add diagnostics to ccm15

* Update homeassistant/components/ccm15/diagnostics.py

Co-authored-by: J. Nick Koston <nick@koston.org>

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-24 02:34:36 +01:00
Joost Lekkerkerker
e469c6892b Add Airnow to strict typing (#105566) 2023-12-23 15:16:15 -10:00
J. Nick Koston
278c7ac2a5 Add support for attribute caching to the todo platform (#106341) 2023-12-23 15:15:09 -10:00
J. Nick Koston
2a52453f5d Add support for attribute caching to the datetime platform (#106340) 2023-12-23 15:14:48 -10:00
J. Nick Koston
b5e1074062 Add support for attribute caching to the time platform (#106339) 2023-12-23 15:14:31 -10:00
J. Nick Koston
b6c2842b01 Add support for attribute caching to the date platform (#106338) 2023-12-23 15:14:09 -10:00
J. Nick Koston
24b14d07de Add support for attribute caching to the water_heater platform (#106336) 2023-12-23 14:29:18 -10:00
J. Nick Koston
38e79bbf9d Add support for attribute caching to the lawn_mower platform (#106335) 2023-12-23 14:28:25 -10:00
J. Nick Koston
63f3c23968 Add support for attribute caching to the weather platform (#106334) 2023-12-23 14:28:08 -10:00
J. Nick Koston
68974a849f Add support for attribute caching to the siren platform (#106337) 2023-12-23 14:27:38 -10:00
J. Nick Koston
85e9bc6f5a Add support for attribute caching to the image platform (#106333) 2023-12-23 14:27:14 -10:00
J. Nick Koston
f097e2a2f6 Add support for attribute caching to the media_player platform (#106257) 2023-12-23 13:33:11 -10:00
J. Nick Koston
b757984031 Optimize use_device_name check in base entity class (#106209) 2023-12-24 00:30:33 +01:00
J. Nick Koston
6e6d7a0c92 Add support for attribute caching to the event platform (#106330) 2023-12-23 13:23:32 -10:00
Diogo Gomes
b674985b20 Add 4 more entities in V2C Trydan EVSE (#105531)
* adds EVSE Lock, Timer, Dynamic Intensity, Dynamic Intensity Pause

* fix casing
2023-12-24 00:20:46 +01:00
J. Nick Koston
e43f4412fa Fix native_step in number not looking at _attr_native_step (#106327) 2023-12-23 13:20:24 -10:00
J. Nick Koston
abd3c54cbe Add support for attribute caching to the camera platform (#106256) 2023-12-23 13:01:47 -10:00
Jan-Philipp Benecke
2f72d4f9f0 Remove unnecessary async_add_job in face processing of image_processing (#106323) 2023-12-23 12:30:31 -10:00
Sid
bd6e2c54e1 Use shorthand attributes in enigma2 (#106318)
* enigma2: add strict typing, change property functions to _attr_*

* applied changes of review

* changes from review
2023-12-23 23:12:03 +01:00
Kevin Worrel
4c912fcf1b Update test data for screenlogic (#106325) 2023-12-23 11:57:27 -10:00
J. Nick Koston
9052b89d63 Add support for attribute caching to the climate platform (#106266) 2023-12-23 11:29:33 -10:00
J. Nick Koston
6d14c265b4 Ensure MQTT attributes are bound to the respective platform entity (#106316) 2023-12-23 10:39:25 -10:00
Oscar Calvo
b2caf15434 New integration Midea ccm15 climate (#94824)
* Initial commit

* Correct settings for config flow

* Use scan interval

* Store proper data

* Remove circular dependency

* Remove circular dependency

* Integration can be initialized

* Fix defaults

* Add setup entry

* Add setup entry

* Dont block forever

* Poll during async_setup_entry

* Remove not needed async methods

* Add debug info

* Parse binary data

* Parse binary data

* Use data to update device

* Use data to update device

* Add CCM15DeviceState

* Use DataCoordinator

* Use DataCoordinator

* Use DataCoordinator

* Use CoordinatorEntity

* Use CoordinatorEntity

* Call update API

* Call update API

* Call update API

* Call update API

* Use dataclass

* Use dataclass

* Use dataclass

* Use dataclass

* Use dataclass

* Use dataclass

* Use dataclass

* Use dataclass

* Fix bugs

* Implement swing

* Support swing mode, read only

* Add unit test

* Swing should work

* Set swing mode

* Add DeviceInfo

* Add error code

* Add error code

* Add error code

* Add error code

* Initial commit

* Refactor

* Remove comment code

* Try remove circular ref

* Try remove circular ref

* Remove circular ref

* Fix bug

* Fix tests

* Fix tests

* Increase test coverage

* Increase test coverage

* Increase test coverrage

* Add more unit tests

* Increase coverage

* Update coordinator.py

* Fix ruff

* Set unit of temperature

* Add bounds check

* Fix unit tests

* Add test coverage

* Use Py-ccm15

* Update tests

* Upgrade dependency

* Apply PR feedback

* Upgrade dependency

* Upgrade dependency

* Upgrade dependency

* Force ruff

* Delete not needed consts

* Fix mypy

* Update homeassistant/components/ccm15/coordinator.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Apply PR Feedback

* Apply PR Feedback

* Apply PR Feedback

* Apply PR Feedback

* Apply PR Feedback

* Apply PR Feedback

* Fix unit tests

* Move climate instance

* Revert "Move climate instance"

This reverts commit cc5b9916b7.

* Apply PR feedback

* Apply PR Feedback

* Remove scan internal parameter

* Update homeassistant/components/ccm15/coordinator.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Remove empty keys

* Fix tests

* Use attr fields

* Try refactor

* Check for multiple hosts

* Check for duplicates

* Fix tests

* Use PRECISION_WHOLE

* Use str(ac_index)

* Move {self._ac_host}.{self._ac_index} to construtor

* Make it fancy

* Update homeassistant/components/ccm15/coordinator.py

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

* Move const to class variables

* Use actual config host

* Move device info to construtor

* Update homeassistant/components/ccm15/climate.py

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

* Set name to none, dont ask for poll

* Undo name change

* Dont use coordinator in config flow

* Dont use coordinator in config flow

* Check already configured

* Apply PR comments

* Move above

* Use device info name

* Update tests/components/ccm15/test_coordinator.py

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

* Update tests/components/ccm15/test_config_flow.py

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

* Apply feedback

* Remove logger debug calls

* Add new test to check for dupplicates

* Test error

* Use better name for test

* Update homeassistant/components/ccm15/config_flow.py

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

* Update homeassistant/components/ccm15/climate.py

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

* Update homeassistant/components/ccm15/config_flow.py

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

* Use prop data for all getters

* Fix tests

* Improve tests

* Improve tests, v2

* Replace log message by comment

* No need to do bounds check

* Update config_flow.py

* Update test_config_flow.py

* Update test_coordinator.py

* Update test_coordinator.py

* Create test_climate.py

* Delete tests/components/ccm15/test_coordinator.py

* Update coordinator.py

* Update __init__.py

* Create test_climate.ambr

* Update conftest.py

* Update test_climate.py

* Create test_init.py

* Update .coveragerc

* Update __init__.py

* We need to check bounds after all

* Add more test coverage

* Test is not None

* Use better naming

* fix tests

* Add available property

* Update homeassistant/components/ccm15/climate.py

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

* Use snapshots to simulate netwrok failure or power failure

* Remove not needed test

* Use walrus

---------

Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-23 21:24:52 +01:00
J. Nick Koston
83e1ba338a Add support for attribute caching to the switch platform (#106258) 2023-12-23 09:22:02 -10:00
Robert Resch
ebdf7b9c8c Deprecate some deprecated const constants (#106230)
* Deprecate some deprecated const constants

* Improve code

* fix typing

* Apply suggestions from code review

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

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-12-23 20:18:51 +01:00
Franck Nijhof
55a5e9c4b5 Update psutil to 5.9.7 (#106295) 2023-12-23 09:04:34 -10:00
Joost Lekkerkerker
8c0594219f Add entity translations to Steamist (#96182)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-23 08:58:54 -10:00
Jan Bouwhuis
9234852e2a Improve typing on drop_connect switch entity description (#106314)
* Improve typing on drop_connext switch entity description

* Update homeassistant/components/drop_connect/switch.py

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

* Update homeassistant/components/drop_connect/switch.py

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-23 19:42:41 +01:00
J. Nick Koston
43757ecea5 Add support for attribute caching to the select platform (#106255) 2023-12-23 08:05:00 -10:00
J. Nick Koston
3d9fc8ed77 Add support for attribute caching to the light platform (#106260) 2023-12-23 08:04:30 -10:00
J. Nick Koston
1631a52b09 Add support for attribute caching to the alarm_control_panel platform (#106265) 2023-12-23 08:04:11 -10:00
J. Nick Koston
4ee961cd51 Add support for attribute caching to the cover platform (#106268) 2023-12-23 08:03:44 -10:00
c0ffeeca7
28dccc334d ISY994: remove reference to reload service (#106302) 2023-12-23 07:43:52 -10:00
Brandon Rothweiler
c629b434cd Add energy usage sensor to A. O. Smith integration (#105616)
* Add energy usage sensor to A. O. Smith integration

* Address review comments

* Address review comment

* Address review comment

* Create device outside of the entity class

* Address review comment

* remove platinum
2023-12-23 17:24:49 +01:00
Matt
345f7f2003 Fix feedreader date comparison to allow RSS entries with identical timestamps (#104925)
Change feedreader publishdate comparison
2023-12-23 16:48:36 +01:00
Jan Bouwhuis
e311a6835e Add valve platform support to google_assistant (#106139)
* Add valve platform to google_assistant

* Use constant for domains set
2023-12-23 16:46:25 +01:00