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
Franck Nijhof
12ff5dee74
Migrate sensor device classes to StrEnum ( #60654 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 08:09:55 +01:00
GitHub Action
c9589f763c
[ci skip] Translation update
2021-12-01 00:17:12 +00:00
Franck Nijhof
542aef2fe1
Migrate switch device classes to StrEnum ( #60658 )
2021-11-30 15:38:45 -08:00
Franck Nijhof
98ce12c6ee
Migrate cover device classes to StrEnum ( #60655 )
2021-11-30 15:37:34 -08:00
Franck Nijhof
7469f083fd
Migrate number mode to StrEnum ( #60614 )
2021-11-30 12:54:06 +01:00
GitHub Action
2918e2d7d0
[ci skip] Translation update
2021-11-29 00:13:08 +00:00
Marc Mueller
25f8d4a189
Upgrade pylint to 2.12.1 ( #60375 )
2021-11-26 00:13:27 +01:00
Franck Nijhof
6b9c2d8295
Add shorthand attribute support to Camera platform ( #59837 )
2021-11-25 16:03:53 +01:00
GitHub Action
d3c020325b
[ci skip] Translation update
2021-11-25 00:13:33 +00:00
GitHub Action
29dc9de08f
[ci skip] Translation update
2021-11-19 00:14:01 +00:00
GitHub Action
9a85c8d894
[ci skip] Translation update
2021-11-18 00:12:48 +00:00
GitHub Action
f0c9f443d1
[ci skip] Translation update
2021-11-15 00:12:46 +00:00
GitHub Action
f00effaba2
[ci skip] Translation update
2021-11-13 00:11:56 +00:00
GitHub Action
e35b83081e
[ci skip] Translation update
2021-11-08 00:12:31 +00:00
GitHub Action
332a571bb4
[ci skip] Translation update
2021-11-07 00:12:38 +00:00
Franck Nijhof
d126d88977
Add Button entity component platform ( #57642 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 16:50:43 +01:00
GitHub Action
11cb04822e
[ci skip] Translation update
2021-10-28 00:11:45 +00:00
Robert Hillis
fc3e7f5b7e
Use DeviceInfo Class D ( #58218 )
2021-10-22 17:00:00 +02:00
Franck Nijhof
dcaa689023
Add auto slider/box mode to number entity ( #57737 )
2021-10-21 07:20:39 +02:00
GitHub Action
10b62370ff
[ci skip] Translation update
2021-10-12 00:12:28 +00:00
GitHub Action
d55a7e5cc7
[ci skip] Translation update
2021-10-09 00:11:46 +00:00
GitHub Action
f42c2f5170
[ci skip] Translation update
2021-10-02 12:59:05 +00:00
mbo18
a28593f133
Add vacation mode to manual alarm_control_panel ( #55340 )
...
* Add vacation mode
* Add vacation to demo
* Deduplicate code in tests
2021-09-01 09:34:21 +02:00
GitHub Action
291a2d6258
[ci skip] Translation update
2021-08-29 00:11:57 +00:00
GitHub Action
ff14a11254
[ci skip] Translation update
2021-08-24 01:55:24 +00:00
Erik Montnemery
41f3c2766c
Move temperature conversions to entity base class (2/8) ( #54468 )
2021-08-11 18:57:12 +02:00
J. Nick Koston
1e14b3a0ac
Ensure camera handles non-jpeg image sources correctly ( #54474 )
2021-08-11 08:12:46 -07:00
J. Nick Koston
e99576c094
Pass width and height when requesting camera snapshot ( #53835 )
2021-08-10 19:33:06 -05:00
J. Nick Koston
5d56ce67f5
Fix inconsistent supported_features return in demo lock ( #54300 )
...
https://github.com/home-assistant/core/pull/51455#discussion_r684806197
2021-08-08 20:33:40 -07:00
GitHub Action
64c9f9e1cb
[ci skip] Translation update
2021-08-06 00:15:04 +00:00
GitHub Action
ba93bda3ad
[ci skip] Translation update
2021-08-05 00:34:46 +00:00
Jan Bouwhuis
8f014361d4
Validate Number value before calling entity method ( #52343 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-04 11:57:26 +02:00
Jan Bouwhuis
8299d0a7c3
Validate Select option before calling entity method ( #52352 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-04 11:12:42 +02:00
GitHub Action
8c5620e74b
[ci skip] Translation update
2021-08-02 03:40:04 +00:00
J. Nick Koston
9b705ad6df
Update lock entity to support locking, unlocking, jammed ( #51455 )
2021-07-20 18:12:56 +02:00
Marc Mueller
c35b5a1c64
Add sound pressure unit constants (dB + dBa) ( #53159 )
2021-07-19 06:54:38 -07:00
Raman Gupta
0f076610fd
Add siren platform ( #48309 )
...
* Add siren platform
* add more supported flags and an ability to set siren duration
* tone can be int or string
* fix typing
* fix typehinting
* fix typehints
* implement a proposed approach based on discussion
* Address comments
* fix tests
* Small fix
* Update homeassistant/components/demo/siren.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/demo/siren.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/demo/siren.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/demo/siren.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/demo/siren.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* typing
* use class attributes
* fix naming
* remove device from service description
* Filter out params from turn on service
* fix tests
* fix bugs and tests
* add test
* Combine is_on test with turn on/off/toggle service tests
* Update homeassistant/components/siren/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* fix filtering of turn_on attributes
* none check
* remove services and attributes for volume level, default duration, and default tone
* Update homeassistant/components/siren/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/siren/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/siren/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* import final
* Update homeassistant/components/siren/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Fix typing and used TypedDict for service parameters
* remove is_on function
* remove class name redundancy
* remove extra service descriptions
* switch to positive_int
* fix schema for tone
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-11 16:51:11 -04:00
GitHub Action
b347226820
[ci skip] Translation update
2021-07-10 00:09:24 +00:00
GitHub Action
f7e4db512f
[ci skip] Translation update
2021-07-09 00:09:30 +00:00
GitHub Action
4b7442412a
[ci skip] Translation update
2021-07-03 00:09:34 +00:00
Shay Levy
1eb27f7ccc
Demo: remove deprecated switch entity properties ( #52424 )
...
* Demo: deprecate switch entity properties
* Fix emulated_kasa test
2021-07-02 17:50:57 +02:00
Franck Nijhof
451b976458
Demo: Explicitly return None when no extra state attribute set ( #52390 )
2021-07-01 12:43:37 +02:00
Franck Nijhof
8a82557142
Demo: Remote improvements ( #52265 )
...
* Demo: Remote improvements
* Address pylint warning
2021-06-29 11:32:46 +02:00
Franck Nijhof
8dd545d060
Demo: Sensor improvements ( #52263 )
2021-06-28 23:39:40 -07:00
GitHub Action
5c5e43afc1
[ci skip] Translation update
2021-06-28 00:10:15 +00:00
GitHub Action
cd9fa27f2a
[ci skip] Translation update
2021-06-26 00:10:53 +00:00
GitHub Action
de5431c037
[ci skip] Translation update
2021-06-23 00:09:30 +00:00
GitHub Action
067b5258c6
[ci skip] Translation update
2021-06-21 00:09:58 +00:00
GitHub Action
3836d46dff
[ci skip] Translation update
2021-06-20 00:10:44 +00:00
GitHub Action
8901e1f157
[ci skip] Translation update
2021-06-19 00:10:05 +00:00
Franck Nijhof
054ca1d7ec
Add Select entity component platform ( #51849 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-18 11:51:55 +02:00
Franck Nijhof
927b5361a3
Define LockEntity entity attributes as class variables ( #51909 )
2021-06-17 11:25:33 +02:00
Franck Nijhof
9f17b8856a
Define WaterHeaterEntity entity attributes as class variables ( #51903 )
2021-06-17 10:19:29 +02:00
Franck Nijhof
37d3a4dd53
Use entity class vars in Switch demo ( #51906 )
...
* Use entity class vars in Switch demo
* Fix missing initial state of the demo switch
2021-06-16 08:29:31 +02:00
Franck Nijhof
347ef9cb4c
Define NumberEntity entity attributes as class variables ( #51842 )
2021-06-14 09:05:01 -07:00
Franck Nijhof
32409a2c93
Define HumidifierEntity entity attributes as class variables ( #51841 )
2021-06-14 09:04:46 -07:00
Erik Montnemery
3db21b407a
Add support for color_mode white to demo light ( #51575 )
...
* Add support for color_mode white to demo light
* Fix unique_id for newly added light
* Update tests
2021-06-07 20:26:25 +02:00
GitHub Action
c81df50191
[ci skip] Translation update
2021-06-06 00:19:43 +00:00
GitHub Action
0a49de75d9
[ci skip] Translation update
2021-05-19 00:11:31 +00:00
tkdrob
0eca26607d
Add targets and selectors for services (D-E) ( #50190 )
2021-05-15 09:25:19 +02:00
Erik Montnemery
216b0df908
Set state_class for demo sensor ( #50523 )
2021-05-12 18:38:26 +02:00