Commit Graph

309 Commits (cb12f77e330d40cd39e640e649ed9d246b6654c4)

Author SHA1 Message Date
GitHub Action 1d2e64e3dc [ci skip] Translation update 2022-07-14 00:27:41 +00:00
GitHub Action 5d8e1b8387 [ci skip] Translation update 2022-07-12 00:24:26 +00:00
Erik Montnemery eb922b2a1f
Add temperature number to demo integration (#74986) 2022-07-11 16:55:06 +02:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
epenet 02a0b8b649
Add more type hints to demo (#74408) 2022-07-04 20:59:52 +02:00
epenet 57fd84e20c
Improve type hints in demo (#74236) 2022-06-30 15:34:48 +02:00
epenet 10dc38e0ec
Adjust CoverEntity property type hints in components (#73943)
* Adjust CoverEntity property type hints in components

* Revert changes to rflink

* Revert changes to wilight
2022-06-25 11:59:56 +02:00
epenet 0461eda83b
Adjust demo cover position methods (#73944) 2022-06-25 00:34:49 +02:00
epenet a92ab7a669
Adjust CoverEntity function type hints in components (#73912)
Adjust CoverEntity functions in components
2022-06-24 06:40:26 +02:00
epenet 3c82c718cb
Improve typing in fans and locks (#73901) 2022-06-23 16:34:40 +02:00
epenet 48bd7cf5e1
Add missing ToggleEntity type hints in fans (#73887) 2022-06-23 12:01:05 +02:00
G Johansson 90e1fb6ce2
Weather unit conversion (#73441)
Co-authored-by: Erik <erik@montnemery.com>
2022-06-23 10:48:30 +02:00
epenet 6b6e5fad3c
Add missing type hints in fans (#73835) 2022-06-22 18:43:41 +02:00
Erik Montnemery d90f029772
Finish migrating demo NumberEntity to native_value (#73581) 2022-06-17 12:14:11 +02:00
epenet f8f1bfde21
Add lock typing in components (#73539)
* Add lock typing in components

* Revert freedompro amends
2022-06-15 15:23:36 +02:00
Erik Montnemery 1f7340313a
Migrate NumberEntity a-j to native_value (#73486) 2022-06-14 08:16:36 -10:00
epenet b589700651
Add async_get_options_flow type hints (a-m) (#73430) 2022-06-13 13:17:59 +02:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
Franck Nijhof bfb47eb212
Final clean up of helpers accessed via hass (#72032)
* Final clean up of helpers accessed via hass

* Fix circular dep

* Fix import
2022-05-17 23:42:37 +03:00
Matej Drobnič 690fb2ae86
Add back description and location to calendar endpoint (#71887) 2022-05-15 20:31:22 +02:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
code-review-doctor 304426edb1
Fix issue probably-meant-fstring found at https://codereview.doctor (#70574)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-25 09:58:17 +02:00
Franck Nijhof bfc82b030f
Replace Climate CURRENT_HVAC_* constants with HVACAction enum (#70319) 2022-04-20 13:41:05 -07:00
Franck Nijhof a22f36178f
Replace Climate HVAC_MODE_* constants with HVACMode enum (#70286)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-20 13:20:53 +02:00
J. Nick Koston 95b98ac9f1
Revert "Revert "Use recorder executor in demo (#69327)" (#69334)" (#69545)
- We have found the issue causing the CI failures and its
  being solved in #69410.

This reverts commit 28350b9792.
2022-04-19 11:09:16 +02:00
Franck Nijhof 27bc5e1d74
Add ColorMode enum to light platform (#69223) 2022-04-11 18:18:29 +02:00
Allen Porter f99b6004ea
Cleanup calendar APIs and introduce a dataclass for representing events (#68843)
* Introduce data class to hold calendar event data

* Rename CalendarEventDevice to CalendarEntity

* Apply suggestions from code review

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

* Fix docstring on google calendar api conversion function.

* Update todoist to new calendar enttiy api, tested manually

* Add back old API for a legacy compatibility layer

* Add deprecation warning for old calendar APIs

* Fix deprecation warning

* Fix merge for missing summary #69520

* Add mypy typing for newly introduced classes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 12:04:07 -07:00
epenet 9eba1425e0
Use SirenEntityFeature enum in demo (#69649) 2022-04-08 09:30:15 +02:00
Erik Montnemery 28350b9792
Revert "Use recorder executor in demo (#69327)" (#69334)
This reverts commit ff84104f45.
2022-04-05 14:50:58 +02:00
Martin Hjelmare ff84104f45
Use recorder executor in demo (#69327) 2022-04-05 11:46:42 +02:00
Franck Nijhof 17403f930f
Add EntityFeature enum to Media Player (#69119) 2022-04-02 20:58:23 -07:00
Franck Nijhof 721db6d962
Add EntityFeature enum to Lock (#69118) 2022-04-02 20:57:32 -07:00
Franck Nijhof ea148a1b8e
Add EntityFeature enum to Light (#69103)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-02 20:57:01 -07:00
Franck Nijhof 2d37066ce5
Add EntityFeature enum to Vacuum (#69121) 2022-04-02 20:55:44 -07:00
Franck Nijhof cce19dc480
Add EntityFeature enum to Water Heater (#69123) 2022-04-02 20:55:17 -07:00
Franck Nijhof 853923c30a
Add EntityFeature enum to Fan (#69091) 2022-04-01 20:53:38 +02:00
Franck Nijhof c31e788439
Rename current_version to installed_version in Update platform (#69093) 2022-04-01 20:11:17 +02:00
Franck Nijhof 02dbd617b9
Add EntityFeature enum to Humidifier (#69092) 2022-04-01 20:10:52 +02:00
Franck Nijhof 8fc55b71c5
Add EntityFeature enum to Climate (#69077) 2022-04-01 09:41:49 -07:00
Franck Nijhof 330c931067
Add EntityFeature enum to Cover (#69088) 2022-04-01 09:38:21 -07:00
Franck Nijhof 93571c2d01
Add EntityFeature enum to Camera (#69072) 2022-04-01 09:38:03 -07:00
Joakim Sørensen 9a150c2234
Add release_notes method to update entities (#68842) 2022-03-29 17:38:56 -07:00
Franck Nijhof 44d3a7e459
Adjust backup type of Update entity (#68553) 2022-03-23 11:20:04 +01:00
Franck Nijhof 073fb40b79
Add update entity platform (#68248)
Co-authored-by: Glenn Waters <glenn@watrs.ca>
2022-03-21 11:02:48 +01:00
J. Nick Koston 723dcbafca
Complete fan speed transition from #59781 (#67743) 2022-03-09 10:38:12 +01:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action 203bda203d [ci skip] Translation update 2022-02-13 00:16:41 +00:00
epenet ea325ef027
Enable basic type checking in demo platforms (#66212)
* Adjust type hints in demo platforms

* Adjust mypy config

* Adjust name
2022-02-10 10:05:58 +01:00
epenet f17d66228c
Enable basic type checking in demo init (#66218)
* Enable basic type checking in demo init

* Remove from mypy ignore list
2022-02-10 09:04:36 +01:00
GitHub Action 2da4d280b2 [ci skip] Translation update 2022-02-06 00:17:31 +00:00