Commit Graph

486 Commits (1b42b32ac10d46e1a13cae80452288abf4b6a670)

Author SHA1 Message Date
Denis Shulyaka 185aaa9e07
Humidifier current humidity (#94874) 2023-06-20 09:43:33 +02:00
Erik Montnemery 43c4dec3ed
Explicitly opt-in to device name in the demo integration (#94647) 2023-06-19 15:56:48 +02:00
Erik Montnemery f68ed8b7a0
Always setup demo platforms with device support from config entry (#94601)
* Always setup demo platforms with device support from config entry

* Update tests depending on the demo integration
2023-06-14 21:03:07 +02:00
Erik Montnemery 9a3077d64a
Always setup demo platforms with device support from config entry (#94586)
* Always setup demo platforms with device support from config entry

* Adjust test fixutres

* Update tests depending on the demo integration
2023-06-14 16:50:35 +02:00
Erik Montnemery 1b8c72e644
Remove legacy STT provider from the demo integration (#94585) 2023-06-14 14:55:50 +02:00
c0ffeeca7 c3a3ddcfa4
Standardize spelling of TTS and STT (#93857)
* Standardize spelling of TTS and STT

* Apply suggestions from code review

* Update homeassistant/components/tts/media_source.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-05-31 11:00:19 -04:00
Raman Gupta 24290e5d08
Add `datetime` platform (#81943)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-29 23:24:15 +02:00
Ville Skyttä ced67e5800
Import `util.dt` as `dt_util` in `components/[a-d]*` (#93756) 2023-05-30 00:02:06 +03:00
Erik Montnemery ef68f2c3ff
Add empty config schema to integrations d-h (#93645) 2023-05-29 21:00:08 +02:00
Erik Montnemery 30d9d7d905
Minor adjustment of tts typing (#93450) 2023-05-24 21:02:55 +02:00
epenet dc14b83249
Add ability to unload demo integration (#92515)
* Add unload to demo integration

* Adjust config tests to use kitchen_sink

* Use async_unload_platforms
2023-05-24 09:38:29 +02:00
epenet b6930c0f04
Fix lingering timer in demo geo_location (#92514) 2023-05-04 19:02:52 +02:00
Raman Gupta c0d0c89293
Add `time` platform (#81949) 2023-04-30 22:33:51 +02:00
Raman Gupta d138bbe26e
Add `date` platform (#81948) 2023-04-30 20:34:57 +02:00
Paulus Schoutsen a203149133
Allow entity names for STT entities (#91932)
* Allow entity names for STT entities

* Fix tests
2023-04-23 23:06:34 -04:00
Martin Hjelmare 473cbf7f9b
Add stt entity (#91230)
* Add stt entity

* Update demo platform

* Rename ProviderEntity to SpeechToTextEntity

* Fix get method

* Run all init tests for config entry setup

* Fix and test metadata from header

* Test config entry unload

* Rename get provider entity

* Test post for non existing provider

* Test entity name before addition

* Test restore state

* Use register shutdown

* Update deprecation comment
2023-04-13 13:58:35 -04:00
Michael Hansen 3e3ece4e56
Add speech to text over binary websocket to pipeline (#90082)
* Allow passing binary to the WS connection

* Expand test coverage

* Test non-existing handler

* Add text to speech and stages to pipeline

* Default to "cloud" TTS when engine is None

* Refactor pipeline request to split text/audio

* Refactor with PipelineRun

* Generate pipeline from language

* Clean up

* Restore TTS code

* Add audio pipeline test

* Clean TTS cache in test

* Clean up tests and pipeline base class

* Stop pylint and pytest magics from fighting

* Include mock_get_cache_files

* Working on STT

* Preparing to test

* First successful test

* Send handler_id

* Allow signaling end of stream using empty payloads

* Store handlers in a list

* Handle binary handlers raising exceptions

* Add stt/tts dependencies to voice_assistant

* Include STT audio in pipeline test

* Working on tests

* Refactoring with stages

* Fix tests

* Add more tests

* Add method docs

* Change stt demo/cloud to AsyncIterable

* Add pipeline error events

* Move handler id to separate message before pipeline

* Add test for invalid stage order

* Change "finish" to "end"

* Use enum

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-03-23 14:44:19 -04:00
Erik Montnemery cf7e500a8e
Support translating entity names (#88242) 2023-03-12 15:55:04 +01:00
epenet 4a3c0cd0a8
Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
Bram Kragten bee79e351e
Allow translation for data entry submit button (#88499) 2023-02-20 19:52:39 +01:00
Erik Montnemery 87420e949d
Sort manifests 2 (#87023) 2023-02-08 20:16:39 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action 072f228e4d [ci skip] Translation update 2023-01-28 00:23:36 +00:00
Jan Bouwhuis 80929c5f8c
Update stale docstring on demo lock platform (#86306)
Update stale docstring
2023-01-20 23:01:32 +01:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Franck Nijhof 566c0f63bd
Removes OpenALPR Local integration (#85544) 2023-01-17 10:43:14 +01:00
GitHub Action b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
GitHub Action dffc913f9e [ci skip] Translation update 2023-01-14 00:22:57 +00:00
Erik Montnemery 7621c450c7
Add kitchen_sink integration (#85592) 2023-01-10 17:31:47 +01:00
GitHub Action 6ce88cd5af [ci skip] Translation update 2023-01-09 00:23:57 +00:00
GitHub Action 6220804639 [ci skip] Translation update 2023-01-02 00:23:28 +00:00
GitHub Action 5c7120aa36 [ci skip] Translation update 2023-01-01 00:25:49 +00:00
GitHub Action d12857c68c [ci skip] Translation update 2022-12-31 00:22:33 +00:00
GitHub Action b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
GitHub Action 1baaf621be [ci skip] Translation update 2022-12-26 00:23:42 +00:00
GitHub Action ca457ccf3c [ci skip] Translation update 2022-12-25 00:24:53 +00:00
GitHub Action 31a3f1100a [ci skip] Translation update 2022-12-24 00:19:43 +00:00
GitHub Action 6234190cfe [ci skip] Translation update 2022-12-23 00:23:22 +00:00
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