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