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
epenet
ff8b91aeea
Add freezer to known test fixtures in pylint ( #89825 )
...
Add freezer to known fixtures in pylint
2023-03-16 22:39:41 -04:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
9f688a564f
Add type hints to integration tests (part 4) ( #87848 )
2023-02-11 08:26:13 +01:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
epenet
59ca7780fa
Add typing to tests with single hass argument ( #87631 )
2023-02-07 15:01:16 +01:00
Franck Nijhof
24fdd588fd
Code styling tweaks to the tests - Part 1 ( #86192 )
2023-01-20 13:52:46 +01:00
Michael
2850583085
Replace the usage of unit constants by enumerations in Tests [a-e] ( #85932 )
2023-01-15 14:44:01 +01:00
Erik Montnemery
7621c450c7
Add kitchen_sink integration ( #85592 )
2023-01-10 17:31:47 +01:00
Erik Montnemery
d2fc3a22e2
Drop title from repairs flows ( #83627 )
2022-12-10 11:43:22 +01:00
Erik Montnemery
a038314d8b
Add display unit to WS recorder/get_statistics_metadata ( #82870 )
2022-11-28 13:46:57 -05: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
Erik Montnemery
607a0e7697
Reduce size of get_statistics_during_period WS API response ( #82131 )
2022-11-16 17:36:30 +01:00
epenet
e84e5f134e
Use US_CUSTOMARY_SYSTEM in tests ( #80658 )
...
* Use US_CUSTOMARY_SYSTEM in tests
* Don't update test_unit_system
2022-10-20 15:42:23 +02:00
Erik Montnemery
31a787558f
Ensure recorder test fixture is setup before hass fixture ( #80528 )
...
* Ensure recorder test fixture is setup before hass fixture
* Adjust more tests
2022-10-19 07:58:47 +02: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
Erik Montnemery
bc2dffabc4
Improve naming of units used in statistics ( #79276 )
2022-09-30 08:38:44 +02:00
epenet
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
Erik Montnemery
cd6697615f
Validate units when importing statistics ( #78891 )
2022-09-21 12:08:53 -04:00
Erik Montnemery
dae00c70de
Allow selecting display unit when fetching statistics ( #78578 )
2022-09-20 17:43:57 -04:00
epenet
8cc0c4dbba
Adjust root-import in demo humidifier tests ( #78772 )
2022-09-19 15:48:01 +02:00
epenet
7bc2712142
Adjust root-import in tests ( #78761 )
...
* Adjust root-import in tests
* Adjust diagnostics
* Adjust button
* Adjust select
* Adjust device_tracker
* Adjust camera
* Adjust humidifier
* Adjust media_source
* Adjust update
* Adjust siren
* Adjust number
* Adjust alarm_control_panel
* Adjust notify
* Adjust sensor
* Adjust switch
* Revert anthemav
* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Erik Montnemery
e326dd2847
Fix demo external energy statistics ( #77665 )
2022-09-01 14:03:37 -04:00
Erik Montnemery
008ac8d10d
Improve statistics metadata WS API ( #77209 )
2022-08-31 11:30:45 +02:00
epenet
7eb8e1f25d
Improve type hints in demo [1/3] ( #77180 )
2022-08-28 17:51:10 -05: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
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
Paulus Schoutsen
b0f877eca2
Add issue_domain to repairs ( #75839 )
2022-07-27 22:53:51 +02: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
Shay Levy
d56a487169
Fix CI failure due to integrations leaving dirty known_devices.yaml ( #74329 )
2022-07-02 11:20:40 -07:00
G Johansson
90e1fb6ce2
Weather unit conversion ( #73441 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-06-23 10:48:30 +02:00
Erik Montnemery
28ebab9c5a
Simplify waiting for recorder in tests ( #70647 )
2022-04-25 12:04:47 +02:00
J. Nick Koston
f1b400feaf
Revert changes from #70300 part 2 ( #70386 )
2022-04-21 10:50:00 -10: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
309424d3b9
Prevent tests changing units from affecting other tests ( #70300 )
...
* Prevent tests changing temperature_unit from affecting other tests
* tweak
2022-04-19 11:38:52 -10:00
J. Nick Koston
fe6a4bfb1d
Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC ( #69643 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 09:05:54 -10:00
Franck Nijhof
b644e7ed0f
Set brand icon as entity picture on update entities ( #69200 )
...
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2022-04-03 20:38:05 +02:00
Franck Nijhof
17403f930f
Add EntityFeature enum to Media Player ( #69119 )
2022-04-02 20:58:23 -07:00
Franck Nijhof
c31e788439
Rename current_version to installed_version in Update platform ( #69093 )
2022-04-01 20:11:17 +02:00
rianadon
c4a2204cc7
Calculate temperature precision based on user units ( #59560 )
...
* Calculate temperature precision based on user units
* Fix a few more failing tests
* Fix failing test
Co-authored-by: Erik <erik@montnemery.com>
2022-03-30 22:49:28 +02:00
Erik Montnemery
61cc8e32f3
Include has_mean + has_sum in statistics metadata WS response ( #68546 )
...
* Include has_mean + has_sum in statistics metadata WS response
* Don't include has_mean/has_sum in history/list_statistic_ids
* Adjust tests
* Do include has_mean/has_sum in history/list_statistic_ids
2022-03-24 10:12:01 +01:00
Erik Montnemery
247af2e74f
Improve recorder setup in tests ( #68333 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-21 15:49:18 -07: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
Erik Montnemery
6b9447e3a2
Fix threading error in demo vacuum ( #62165 )
2021-12-17 12:45:53 +01:00