Commit Graph

379 Commits (e23007322dafb71184d108d8ba51c7429a5b3d00)

Author SHA1 Message Date
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
epenet c8f11d65d2
Improve type hints in demo and mqtt number entity (#76464) 2022-08-11 00:10:28 +02:00
GitHub Action 4a938ec33e [ci skip] Translation update 2022-08-10 00:23:36 +00:00
GitHub Action 12721da063 [ci skip] Translation update 2022-08-09 00:28:50 +00:00
GitHub Action 4b53b920cb [ci skip] Translation update 2022-08-07 00:29:25 +00:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
Erik Montnemery 9aa8838479
Allow storing arbitrary data in repairs issues (#76288) 2022-08-05 13:16:29 +02:00
Erik Montnemery b366090175
Allow creating fixable repairs issues without flows (#76224)
* Allow creating fixable repairs issues without flows

* Add test

* Adjust test
2022-08-05 12:07:51 +02:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
GitHub Action c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
Marc Mueller 003fe9220e
Add protocol types for device_tracker `async_see` and `see` (#75891) 2022-07-29 00:27:47 +02:00
GitHub Action 33c635809c [ci skip] Translation update 2022-07-27 00:28:57 +00:00
GitHub Action 4a50010458 [ci skip] Translation update 2022-07-25 00:25:55 +00:00
GitHub Action 19f82e5201 [ci skip] Translation update 2022-07-24 00:28:19 +00:00
GitHub Action 8e86124470 [ci skip] Translation update 2022-07-23 00:25:17 +00:00
GitHub Action 36138afb93 [ci skip] Translation update 2022-07-22 00:29:27 +00:00
GitHub Action 87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
Erik Montnemery fb4aff25a2
Create issues in demo integration (#75081)
* Create issues in demo integration

* Add unfixable non-expiring issue

* Update test

* Adjust tests

* update translations

* add hassfest translation schema

* Update homeassistant/components/demo/translations/en.json

Co-authored-by: Zack Barett <zackbarett@hey.com>

* Rename Resolution Center -> Repairs

* Update homeassistant/components/demo/strings.json

Co-authored-by: Zack Barett <zackbarett@hey.com>

* Adjust hassfest to require description or fix_flow

* Update homeassistant/components/demo/repairs.py

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

* Update tests/components/demo/test_init.py

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

* Add missing translation strings

* black

* Adjust repairs imports

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Zack Barett <zackbarett@hey.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-20 14:46:06 +02:00
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
Paulus Schoutsen bc41028800
Some tweaks to the demo (#65623)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-04 09:49:47 +01:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 5e62ff95b9 [ci skip] Translation update 2022-01-29 00:13:03 +00:00
epenet 78e92d1662
Adjust pylint plugin to enforce platform type hints (#64836)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 18:51:06 +01:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
Josh Soref 83566a7722
spelling: components/demo (#64245)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:18:14 +01:00
epenet 7c0dc2ff1f
Add typing to async_get_handler in demo (#64029)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 14:20:05 +01:00
Erik Montnemery 03593aa21b
Import persistent notification (part 2) (#63899) 2022-01-13 08:42:50 +01:00
epenet 29d58e427b
Add setup type hints (part 2) (#63960)
* Add setup type hints to demo

* Add setup type hints to group

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 09:28:14 +01:00
epenet c6416955c6
Add type hints to setup_scanner (#63825)
* Add type hints to setup_scanner

* Fix aprs tests

* Revert "Add type hints to setup_scanner"

This reverts commit 3e8b295484.

* Revert "Fix aprs tests"

This reverts commit 854b37aee8.

* Add type hints to setup_scanner

* Fix aprs tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:29:04 +01:00
epenet 9b5939a7a5
Add setup type hints to all demo platforms (#63294)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:24:09 +01:00
epenet 94061fa997
Add geo_location setup type hints (#63288)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:22:23 +01:00
epenet 71cb42f53a
Add fan setup type hints (#63287)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:10:53 +01:00
epenet 06ebbb7cae
Add climate setup type hints [a-l] (#63278)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:26:32 +01:00
epenet cbd3cd4599
Add camera setup type hints (#63277)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:22:41 +01:00
epenet ce6206b422
Add calendar setup type hints (#63272)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:14:02 +01:00
epenet fbabad1d1d
Add binary_sensor setup type hints [a-f] (#63268)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:10:41 +01:00
epenet 929da2154a
Add air_quality setup type hints (#63263)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 12:07:05 +01:00
epenet 24fc0df4b0
Add alarm_control_panel setup type hints (#63264)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 10:57:25 +01:00
epenet 6d51cccbf7
Add init type hints [d] (#63101)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:12:46 +01:00
epenet f724aea0bb
Ensure service calls are typed [a-j] (#63013)
* Ensure service calls are typed [a-j]

* Adjust apns

* Adjust arlo

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 18:50:51 +01:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
Franck Nijhof fc6c0b1d4a
Add input_button (#62008)
* Add input_button

* Update homeassistant/components/input_button/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Improve test coverage

* Add reload test: not affecting state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-20 16:18:58 +01:00
Erik Montnemery 6b9447e3a2
Fix threading error in demo vacuum (#62165) 2021-12-17 12:45:53 +01:00
Erik Montnemery 281b5e1c22
Speed up demo lock tests (#61425) 2021-12-10 11:13:44 +01:00
J. Nick Koston 7fbe1dbc99
Remove legacy fan compatibility shim (#59781) 2021-12-03 21:57:46 -08:00
Erik Montnemery 411b0f0b15
Generate external statistics in demo component (#58470) 2021-12-02 09:55:46 -08:00
Franck Nijhof 2ec49d4ffd
Migrate sensor state classes to StrEnum (#60709) 2021-12-01 12:09:31 +01:00
Franck Nijhof c6cbfe8c37
Migrate humidifier device classes to StrEnum (#60706)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-12-01 12:02:14 +01:00
Franck Nijhof 2b8f245e27
Migrate binary sensor device classes to StrEnum (#60651) 2021-12-01 08:12:09 +01:00