1
0
mirror of https://github.com/home-assistant/core.git synced 2025-06-19 20:47:06 +00:00

25 Commits

Author SHA1 Message Date
G Johansson
83f4d3af5c
Implement mode validation in Climate entity component ()
* 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 () 2023-12-13 19:40:57 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
G Johansson
28dc17c0b3
Refactor Sensibo tests to use snapshot () 2023-09-23 23:37:02 +02:00
G Johansson
06ade74711
Bump pysensibo 1.0.35 ()
* 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 ()
* 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 ()
* Bump pysensibo to 1.0.33

* for loop
2023-08-05 19:02:44 +02:00
G Johansson
2ebc265184
Bump pysensibo to 1.0.31 () 2023-07-08 09:23:11 -10:00
Ville Skyttä
940942a74a
Import util.dt as dt_util in components/[p-s]* () 2023-05-30 00:09:42 +03:00
epenet
69a46d4002
Adjust pylint plugin for components fixtures ()
* Adjust pylint plugin for components fixtures

* Adjust components

* Use MagicMock

* Adjust

* Use None
2023-03-26 15:21:19 +02:00
epenet
aa00114c2f
Add return type to async tests without arguments () 2023-02-07 10:26:56 +01:00
Franck Nijhof
a79885ceaf
Enable Ruff SIM117 () 2023-01-27 11:52:49 +01:00
G Johansson
a5225a3606
Sensibo select platform translations () 2023-01-04 07:17:57 -10:00
G Johansson
b04165b495
Add Sensibo Climate React () 2022-10-23 15:22:14 -05:00
G Johansson
57b2bb4889
Add entity service - Set Full AC state to Sensibo ()
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 () 2022-09-21 06:57:41 -10:00
G Johansson
03d804123a
Sensibo clean code () 2022-09-04 14:42:08 -05:00
G Johansson
532e25d087
Sensibo use switch for Pure boost ()
* Initial commit

* Finalize pure boost switch

* Fix service required
2022-06-22 18:26:25 +02:00
G Johansson
68135e57af
Split timer service for Sensibo () 2022-06-19 09:28:33 -05:00
G Johansson
d5df2b2ee7
Sensibo Add Pure Boost Service ()
* 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 () 2022-06-13 09:17:08 -10:00
G Johansson
5ee2f4f438
Sensibo Set temperature improvement () 2022-06-03 09:11:57 -10:00
G Johansson
24c34c0ef0
Strict typing Sensibo () 2022-05-28 13:26:50 -10:00
G Johansson
49491bcda5
Sensibo test data adjustment from late review ()
* Sensibo test data

* Separate pytest fixture for json load

* Scope to session
2022-05-11 19:36:30 +02:00
G Johansson
5931f6598a
Add tests for Sensibo ()
* Initial commit

* Check temperature missing

* fix temp is none

* Fix parallell

* Commit to save

* Fix tests

* Fix test_init

* assert 25

* Adjustments tests

* Small removal

* Cleanup

* no hass.data

* Adjustment test_coordinator

* Minor change test_coordinator
2022-05-06 10:05:15 +03:00