1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
G Johansson
23a8b29bfe Bring sensibo to full coverage (again) (#116469) 2024-04-30 21:31:52 +02:00
epenet
a3942e019b Use remove_device helper in tests (2/2) (#116442)
Use remove_device helper in tests (part 2)
2024-04-30 12:50:35 +02:00
Erik Montnemery
db8597a742 Reduce scope of JSON/XML test fixtures (#116197) 2024-04-25 19:12:36 -05:00
epenet
9204ccfa17 Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926) 2024-04-05 17:37:00 +02:00
Joost Lekkerkerker
ee66f6ec8c Use is in enum comparison in config flow tests P-T (#114675) 2024-04-02 11:21:50 -10: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
Marc Mueller
aa16a9d707 Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller
7d6251ca08 Add empty line after module docstring [tests q-s] (#112711) 2024-03-08 14:47:22 +01:00
Joost Lekkerkerker
91b2dd4b83 Add icon translations to Sensibo (#112222)
* Add icon translations to Sensibo

* Add icon translations to Sensibo

* Add icon translations to Sensibo
2024-03-04 17:20:27 +01:00
Marc Mueller
438d3b01b9 Use builtin TimeoutError [o-s] (#109682) 2024-02-05 12:14:37 +01:00
G Johansson
bc720b48b4 Add TURN_OFF and TURN_ON to ClimateEntityFeature (#101673)
* Add ClimateEntityFeature.TURN_OFF

* Fixes

* Fixes

* wording

* Change to services

* Fixing

* Fixing

* Last bits

* Review comments

* Add hvac_modes checks

* Fixes

* Add tests

* Review comments

* Update snapshots

* balboa

* coolmaster

* ecobee

* mqtt

* nest

* plugwise

* smarttub

* whirlpool

* zwave_js

* fix test climate

* test climate

* zwave

* nexia

* nuheat

* venstar

* tado

* smartthings

* self.hvac_modes not None

* more tests

* homekit_controller

* homekit controller snapshot
2024-01-30 15:07:47 +01:00
G Johansson
e13a34df0f Separate fixture in Sensibo (#109000) 2024-01-28 22:43:22 +01:00
Jan-Philipp Benecke
4760114408 Fix flaky sensibo test (#108669) 2024-01-22 21:47:28 +01:00
G Johansson
7a6dca0987 Sensibo include mac in diagnostics redact filter (#107986)
* Add mac to redaction in Sensibo diagnostics

* Add full snapshot

* use constant
2024-01-14 15:34:14 +01:00
G Johansson
83f4d3af5c Implement mode validation in Climate entity component (#105745)
* Implement mode validation in Climate entity component

* Fix some tests

* more tests

* Fix translations

* fix deconz tests

* Fix switcher_kis tests

* not None

* Fix homematicip_cloud test

* Always validate

* Fix shelly

* reverse logic in validation

* modes_str

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-27 14:51:39 +01:00
G Johansson
65514fbd73 Add error translations for Sensibo (#105600) 2023-12-13 19:40:57 +01:00
Aarni Koskela
706add4a57 Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
G Johansson
264eef8dd8 Allow to remove devices in Sensibo (#101890) 2023-10-15 06:14:38 -10:00
Joost Lekkerkerker
3843e91af0 Use device class translation for Sensibo update entity (#101888)
Use device class translation for Sensibo update
2023-10-12 19:13:21 +02:00
G Johansson
28dc17c0b3 Refactor Sensibo tests to use snapshot (#100775) 2023-09-23 23:37:02 +02:00
G Johansson
06ade74711 Bump pysensibo 1.0.35 (#100245)
* Bump pysensibo 1.0.34

* 1.0.35

* Mod tests

* revert refactoring

* Fix tests
2023-09-23 23:01:08 +02:00
G Johansson
d557f3b742 Add state attributes translation and available modes for Sensibo (#85234)
* Sensibo translation climate

* Add available states

* Fix keys

* Delete en.json

* invalid fan_mode and swing_mode

* Translations

* Add back sorting

* Fix fan_mode and swing_mode

* Fix raise error

* review
2023-08-08 19:13:56 +02:00
G Johansson
249fa513c9 Bump pysensibo to 1.0.33 (#97853)
* Bump pysensibo to 1.0.33

* for loop
2023-08-05 19:02:44 +02:00
G Johansson
49b6c8ed6e Fix diagnostics Sensibo (#96336) 2023-07-11 18:24:40 +02:00
G Johansson
0546e7601c Enhance diagnostics for Sensibo (#96150)
* Diag Sensibo

* Fix snapshot
2023-07-09 22:50:12 +02:00
G Johansson
2ebc265184 Bump pysensibo to 1.0.31 (#96154) 2023-07-08 09:23:11 -10:00
Joost Lekkerkerker
598610e313 Add entity translations to Sensibo (#96091) 2023-07-08 16:50:46 +02:00
Ville Skyttä
940942a74a Import util.dt as dt_util in components/[p-s]* (#93761) 2023-05-30 00:09:42 +03:00
epenet
69a46d4002 Adjust pylint plugin for components fixtures (#90217)
* Adjust pylint plugin for components fixtures

* Adjust components

* Use MagicMock

* Adjust

* Use None
2023-03-26 15:21:19 +02:00
epenet
80ee196fd8 Add type hints to integration tests (part 19) (#88178) 2023-02-15 18:07:40 +01:00
Franck Nijhof
ed79265843 Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
aa00114c2f Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
epenet
a79be493e5 Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Franck Nijhof
a79885ceaf Enable Ruff SIM117 (#86783) 2023-01-27 11:52:49 +01:00
Franck Nijhof
e4a78420b8 Enable Ruff PT013 (#86757)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
epenet
30bf0634fe Add per-file-ignore to pylint (#86289) 2023-01-22 17:26:24 +01:00
G Johansson
a5225a3606 Sensibo select platform translations (#82743) 2023-01-04 07:17:57 -10:00
G Johansson
50c686343e Bump pysensibo to 1.0.21 (#82023)
* pysensibo 1.0.21

* Add name to fixture
2022-11-13 16:05:54 +01:00
G Johansson
b04165b495 Add Sensibo Climate React (#78221) 2022-10-23 15:22:14 -05:00
G Johansson
57b2bb4889 Add entity service - Set Full AC state to Sensibo (#80820)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-23 13:55:53 -05:00
epenet
0d696b84b2 Cleanup root component imports in tests (#78893) 2022-09-21 06:57:41 -10:00
epenet
7bc2712142 Adjust root-import in tests (#78761)
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
G Johansson
03d804123a Sensibo clean code (#74437) 2022-09-04 14:42:08 -05:00
Franck Nijhof
a6244eea28 Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
G Johansson
532e25d087 Sensibo use switch for Pure boost (#73833)
* Initial commit

* Finalize pure boost switch

* Fix service required
2022-06-22 18:26:25 +02:00
G Johansson
0007178d63 Add filters and service to Sensibo (#73687) 2022-06-20 22:33:47 -05:00
G Johansson
68135e57af Split timer service for Sensibo (#73684) 2022-06-19 09:28:33 -05:00
G Johansson
d5df2b2ee7 Sensibo Add Pure Boost Service (#73114)
* Pure Boost Service

* Fix tests

* Fix mypy

* One service to two services

* Minor fix test

* Fix issues
2022-06-18 15:15:44 -05:00
G Johansson
c660fae8d8 Sensibo Add timer (#73072) 2022-06-13 09:17:08 -10:00
G Johansson
7536586bed Add binary sensors for Pure devices Boost Config (#73032) 2022-06-05 18:58:48 -10:00