GitHub Action
98f84c7c17
[ci skip] Translation update
2022-12-22 00:23:15 +00:00
Erik Montnemery
255f35b979
Add support for translating custom attribute state ( #83386 )
...
* Add support for translating custom attribute state
* Address review comment
* Rename attribute to state_attributes, allow naming attributes
2022-12-21 10:43:49 +01:00
GitHub Action
f19a1147fe
[ci skip] Translation update
2022-12-11 00:26:24 +00:00
Erik Montnemery
d2fc3a22e2
Drop title from repairs flows ( #83627 )
2022-12-10 11:43:22 +01:00
GitHub Action
1e0345a377
[ci skip] Translation update
2022-12-10 00:21:35 +00:00
GitHub Action
f25017313a
[ci skip] Translation update
2022-12-09 00:24:29 +00:00
epenet
51ea3ff400
Use UnitOfSoundPressure in demo ( #83584 )
...
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-12-09 00:42:30 +02:00
Franck Nijhof
9864d9e0d2
Remove str from sensor device class ( #83391 )
2022-12-08 19:04:58 +01:00
GitHub Action
3de8185506
[ci skip] Translation update
2022-12-08 00:21:50 +00:00
GitHub Action
1f3e5fb4fc
[ci skip] Translation update
2022-12-07 00:24:08 +00:00
GitHub Action
3ab9a14ce7
[ci skip] Translation update
2022-12-06 00:21:31 +00:00
Franck Nijhof
f801fe307e
Migrate Demo translations ( #83294 )
2022-12-05 08:44:26 -05:00
GitHub Action
5f9290e572
[ci skip] Translation update
2022-12-05 00:23:07 +00:00
epenet
aace084931
Use unit enums in demo ( #83130 )
2022-12-04 11:21:44 +02:00
GitHub Action
a1eab7f842
[ci skip] Translation update
2022-12-04 00:23:06 +00:00
GitHub Action
03154e1d83
[ci skip] Translation update
2022-12-03 00:21:50 +00:00
Franck Nijhof
ce00f093d6
Add enum device_class and state options property to sensor entities ( #82489 )
2022-12-02 09:11:15 +01:00
GitHub Action
c9c2886b26
[ci skip] Translation update
2022-12-02 00:23:57 +00:00
GitHub Action
0d1f476bee
[ci skip] Translation update
2022-12-01 00:33:36 +00:00
GitHub Action
197e71203b
[ci skip] Translation update
2022-11-30 00:26:16 +00:00
epenet
4ad9633dfb
Use new unit enums in weather entity ( #82937 )
2022-11-29 18:10:31 +01:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
epenet
afe01c2434
Use attributes in demo media player ( #78040 )
2022-11-28 10:19:47 +01:00
GitHub Action
4becb9454b
[ci skip] Translation update
2022-11-27 00:26:07 +00:00
GitHub Action
797dc51bc5
[ci skip] Translation update
2022-11-26 00:22:30 +00:00
GitHub Action
f3b3193f7a
[ci skip] Translation update
2022-11-25 00:24:19 +00:00
Raman Gupta
003e4224c8
Add `text` platform ( #79454 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 20:01:01 +01:00
Joakim Sørensen
d0390860fb
Add repair abort flow to demo integration ( #82614 )
2022-11-24 14:54:41 +01:00
epenet
bf3c6e5f58
Enforce VacuumEntityFeature ( #82466 )
2022-11-22 07:27:27 +01:00
epenet
d4bd9a0f7e
Enforce HumidifierEntityFeature ( #82459 )
2022-11-22 07:14:19 +01:00
epenet
48cc3071bb
Enforce ClimateEntityFeature ( #82329 )
2022-11-22 07:08:53 +01:00
epenet
8570d3aabe
Adjust type hints for LockEntityFeature ( #82256 )
2022-11-17 12:47:48 +01:00
epenet
4986f65dca
Adjust supported_features defaults in lights ( #82252 )
2022-11-17 12:47:08 +01:00
epenet
6424c71daa
Cleanup supported_features in demo ( #82239 )
...
* Cleanup supported_features in demo cover
* Improve other platforms
* Adjust media_player patch
2022-11-17 09:39:46 +01:00
epenet
e37211ad42
Use _attr_supported_features in demo climate ( #82216 )
2022-11-16 21:28:23 +01:00
Erik Montnemery
607a0e7697
Reduce size of get_statistics_during_period WS API response ( #82131 )
2022-11-16 17:36:30 +01:00
GitHub Action
8d28da83ca
[ci skip] Translation update
2022-10-05 00:36:50 +00:00
Erik Montnemery
2de273500e
Remove state_unit_of_measurement from metadata DB table ( #79370 )
...
* Remove state_unit_of_measurement from metadata DB table
* Adjust test
2022-10-01 18:55:00 +02:00
GitHub Action
4460953ff4
[ci skip] Translation update
2022-09-27 00:31:59 +00:00
GitHub Action
4b2bea4972
[ci skip] Translation update
2022-09-20 00:30:13 +00:00
GitHub Action
1f92804211
[ci skip] Translation update
2022-09-19 00:27:46 +00:00
epenet
be17ba15db
Use attributes in demo media-player ( #78461 )
...
* Use attributes in demo media-player
* Use _attr_is_volume_muted
* Use _attr_shuffle
* Use _attr_sound_mode / _attr_sound_mode_list
2022-09-16 15:04:29 -06:00
GitHub Action
ec258410c5
[ci skip] Translation update
2022-09-16 00:29:29 +00:00
Erik Montnemery
dd20a7ea62
Display statistics in the source's unit ( #78031 )
2022-09-15 12:01:24 -04:00
epenet
a443cefa7b
Use self._attr_state in demo media player ( #78520 )
2022-09-15 08:44:20 -04:00
epenet
fd05d949cc
Fix device_class in demo ( #78463 )
...
Use _attr_device_class in demo
2022-09-14 20:09:31 +03:00
epenet
efb482fb1d
Add demo to strict-typing ( #77596 )
...
* Add demo to strict-typing
* Adjust component
* Adjust PR
* Update homeassistant/components/demo/mailbox.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-14 13:05:00 +02:00
epenet
b87cd926e7
Fix image-processing type hint ( #78426 )
2022-09-14 11:13:48 +02:00
GitHub Action
955f3b7083
[ci skip] Translation update
2022-09-13 00:29:19 +00:00
epenet
2f3091122b
Import update constants from root ( #78251 )
2022-09-12 18:22:22 +02:00
epenet
9c8e9f044b
Import stt constants from root ( #78247 )
2022-09-12 18:12:06 +02:00
GitHub Action
b56f54745a
[ci skip] Translation update
2022-09-12 00:26:16 +00:00
epenet
b0777e6280
Use new media player enums in demo ( #78114 )
...
* Use new media player enums in demo
* Adjust import location
2022-09-11 16:48:18 +02:00
epenet
03f4eb84a0
Improve type hints in demo and dependencies ( #78022 )
2022-09-08 12:46:41 +02:00
epenet
ff356205bf
Use platform constants from root ( #78032 )
2022-09-08 12:24:45 +02:00
epenet
f14bb8195f
Import climate constants from root [a-l] ( #78021 )
2022-09-08 11:24:15 +02:00
GitHub Action
4f7ad27b65
[ci skip] Translation update
2022-09-07 00:27:56 +00:00
Allen Porter
ddf668d1cb
Remove CalendarEventDevice which was deprecated in 2022.5 ( #77809 )
2022-09-04 22:25:43 -07:00
Erik Montnemery
e326dd2847
Fix demo external energy statistics ( #77665 )
2022-09-01 14:03:37 -04:00
epenet
4b2e4c8276
Improve type hints in demo [3/3] ( #77186 )
2022-08-30 21:51:21 +02:00
epenet
7eb8e1f25d
Improve type hints in demo [1/3] ( #77180 )
2022-08-28 17:51:10 -05:00
epenet
452ee0284a
Improve type hints in demo [2/3] ( #77185 )
2022-08-26 11:34:38 +02:00
Erik Montnemery
ac9ba8f231
Improve demo test coverage ( #77301 )
2022-08-25 10:39:51 -05:00
Erik Montnemery
c741d9d045
Update integrations to import issue_registry from helpers ( #77305 )
...
* Update integrations to import issue_registry from helpers
* Update tests
2022-08-25 15:33:05 +02:00
Erik Montnemery
2497ff5a39
Add energy and gas sensors to demo integration ( #77206 )
2022-08-24 11:09:23 +02:00
epenet
bf7239c25d
Improve entity type hints [d] ( #77031 )
2022-08-19 16:10:45 +02:00
GitHub Action
ff3fd4c29d
[ci skip] Translation update
2022-08-16 00:30:51 +00:00
GitHub Action
bec8e544f4
[ci skip] Translation update
2022-08-14 00:25:47 +00:00
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