Joost Lekkerkerker
f7f1830b7e
Add support for binary sensor states in Google Assistant ( #127652 )
2024-11-10 20:34:24 +01:00
Erik Montnemery
3e62c6ae2f
Move core config functionality to its own module ( #129065 )
...
* Move core config functionality to its own module
* Adjust test
2024-10-24 13:34:51 +02:00
G Johansson
cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum ( #126283 )
...
* Alarm state from enum
* Fixes
* Set final
* Fix rebase
* Test const
* Fix breaking version
* Fix other for alarm_control_panel
* Fix integrations
* More
* More
* More
* More
* Fix zha
* Replace _attr_state
* Fix alarm_control_panel
* Fix tests
* Fixes
* Mods
* Change some
* More
* More
* More
* Tests
* Last tests
* Return enum
* Fix zha
* Remove not needed check
* Fix wording
* Fix homekit
* Mod prometheus
* Fix mypy
* Fix homekit
* Fix ifttt
2024-10-21 22:54:27 +02:00
Joost Lekkerkerker
c0f19dd963
Reorder Google Assistant Traits ( #127646 )
2024-10-16 15:04:46 +02:00
G Johansson
93aade6e8e
Change lock state to an enum ( #126379 )
...
* Add new LockState enum for lock states
* Add rest
* Fix insteon tests
* Fix mqtt tests
* Fix tesla_fleet
* Revert back ST_STATE_LOCKED
* Add back constant
2024-09-24 12:30:50 +02:00
Erik Montnemery
d82bff1bc2
Index config entry discovery_keys by discovery domain ( #126563 )
...
* Index config entry discovery_keys by discovery domain
* Add new signal
* Update tests
* Update homeassistant/config_entries.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Fix imports
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 21:48:11 +02:00
Erik Montnemery
b2982c18bb
Reinitialize zeroconf discovery flow on unignore ( #125753 )
...
* Reinitialize zeroconf discovery flow on unignore
* Adjust tests
* Improve comments
* Fix logic for updating discovery keys
* Add tests
* Use mock_config_flow helper in new config_entries test
* Add discovery_keys attribute to ConfigEntry
* Update zeroconf rediscovery
* Change type of ConfigEntry.discovery_keys
* Update tests
* Fix DiscoveryKey.from_json_dict and add tests
* Fix test
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 16:49:21 +02:00
G Johansson
939f2e41e9
Change valve state to an enum ( #126428 )
2024-09-23 14:20:18 +02:00
epenet
02cb6a6af7
Force root import of references from other components ( #125816 )
...
* Force root import of references from other components
* Improve
* Adjust
* Tweak exceptions
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Adjust
* More
* Ignore violations in test
* Improve
2024-09-16 11:28:42 +02:00
epenet
bd2b72235e
Use root import in tests ( #125862 )
...
* Use root import in components
* One more
2024-09-13 06:42:32 +02:00
Robert Resch
ad50136dbd
Add created_at/modified_at to config entries ( #122456 )
2024-07-29 22:08:46 +02:00
epenet
075550b7ba
Use HOMEASSISTANT_DOMAIN alias for core DOMAIN in tests ( #122762 )
2024-07-29 12:51:12 +02:00
Marc Mueller
a6068dcdf2
Update import locations in tests ( #122216 )
2024-07-20 11:16:04 +02:00
J. Nick Koston
84d8bc711d
Fix blocking I/O in event loop in google_assistant test ( #121126 )
...
found by ruff in #120799
2024-07-03 23:35:23 +01:00
Joakim Plate
097844aca6
Allow arm levels be in order for google assistant ( #119645 )
2024-06-14 07:18:57 +02:00
epenet
99b349fa2c
Fix consider-using-dict-items warnings in tests ( #119497 )
2024-06-12 16:44:29 +02:00
epenet
7388271689
Fix unspecified-encoding warnings in tests ( #119405 )
2024-06-11 17:58:40 +02:00
epenet
5abdc83b2e
Fix non-parent-init-called pylint warning in google_assistant tests ( #119367 )
2024-06-11 15:00:23 +02:00
Joakim Plate
8a0cc55278
Always provide a currentArmLevel in Google assistant ( #119238 )
2024-06-10 07:47:16 +02:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
epenet
492b158818
Add return type hints in tests (a-i) ( #118939 )
2024-06-06 12:17:08 +02:00
Jan-Philipp Benecke
7407995ff1
Fix flaky Google Assistant test ( #118914 )
...
* Fix flaky Google Assistant test
* Trigger full ci
2024-06-05 17:37:14 -04:00
epenet
092cdcfe91
Improve type hints in tests (a-h) ( #118379 )
2024-05-30 08:46:18 +02:00
Bygood91
f7d2d94fdc
Add Google assistant Gate device type ( #118144 )
2024-05-29 09:18:02 +02:00
epenet
a59621bf9e
Add more type hints to pylint plugin ( #118319 )
2024-05-28 18:37:38 +02:00
Marc Mueller
dc47792ff2
Update codespell to 2.3.0 ( #118001 )
2024-05-24 08:22:29 +02:00
Sid
3799d20d43
Enable Ruff B905 ( #114197 )
2024-04-14 00:14:26 -05:00
J. Nick Koston
af1023074e
Add an event_filter to google_assistant state reporting ( #115160 )
...
* adjust
* fix test since it happens sooner now
* remove debug
* remove unneeded test change
* reduce
* reduce
2024-04-07 21:30:03 -04:00
Sid
aec7a67a58
Unignore Ruff PLE, PLW in tests ( #114406 )
...
* Unignore Ruff PLE, PLW in tests
* fix tests
2024-03-29 23:58:30 +01:00
Marc Mueller
44eeb2eb5e
Allow Humidifier.current_humidity to be a float ( #111297 )
...
* Allow Humidifier.current_humidity to be a float
* Code review
* Allow climate humidity values to be float
* Update demo integration
2024-03-27 11:19:20 +01:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Jan Bouwhuis
c94d8c541b
Fix google assistant diagnostics test ( #114111 )
...
Improve google assistant diagnostics test
2024-03-24 19:05:47 +01:00
Sid
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-03-19 09:01:07 +01:00
Jan Bouwhuis
012291a1f3
Fix google_asssistant sensor state reporting ( #112838 )
...
* Fix post google_assistant sensor values as float not string
* Fix aqi reporting and improve tests
* Fix _air_quality_description_for_aqi and test
2024-03-12 09:07:20 +01:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
J. Nick Koston
f3a9756f81
Avoid waiting for integration platforms in the parent integration ( #112467 )
2024-03-05 21:16:42 -10:00
Erik Montnemery
9b91da23c4
Improve logging of google_assistant messages ( #110637 )
...
* Improve logging of google_assistant messages
* Add tests
* Add test
2024-02-26 11:43:31 +01:00
Erik Montnemery
a51d3b4286
Remove store from google_assistant AbstractConfig ( #109877 )
...
* Remove store from google_assistant AbstractConfig
* Bump minor version of google_assistant store
* Fix test
* Improve comments
* Fix typo
* Refactor
* Update homeassistant/components/google_assistant/http.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix bug, add tests
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-12 19:24:21 +01:00
Erik Montnemery
674e4ceb2c
Make additional methods of google_assistant.AbstractConfig abstract ( #109811 )
2024-02-06 19:14:12 +01:00
Erik Montnemery
0cb913370f
Rename google_assistant.AbstractConfig.get_local_agent_user_id ( #109798 )
...
* Rename google_assistant.AbstractConfig get_local_agent_user_id to get_local_user_id
* Fix
2024-02-06 15:40:12 +01:00
Erik Montnemery
09ba46ddb9
Mask sensitive data in google_assistant logs ( #109366 )
...
* Mask sensitive data in google_assistant logs
* Move common code to homeassistant/util/redact.py
* Move to helpers
* Add tests
* Tweak
* Redact additional logs
* Fix stale docstring
* Don't reveal the length of masked data
* Update test
2024-02-02 22:10:30 +01:00
Jan Bouwhuis
dcd677fea8
Make google_assistant report_state test timezone aware ( #109200 )
2024-01-31 13:12:26 +01:00
Jan Bouwhuis
320bf53f75
Add OnOff trait for climate entities in google_assistant ( #109160 )
2024-01-30 21:27:36 -05:00
Paul Bottein
02ac985120
Use right initial attribute value for demo climate ( #108719 )
2024-01-29 21:46:04 +01:00
Franck Nijhof
01372024f5
Add icon translations support ( #103294 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2024-01-19 16:56:56 +01:00
Jan Bouwhuis
3016dbc2bd
Enable toggle on valve/cover start in google_assistant ( #106378 )
2023-12-25 15:40:17 +01:00
J. Nick Koston
f097e2a2f6
Add support for attribute caching to the media_player platform ( #106257 )
2023-12-23 13:33:11 -10:00
Jan Bouwhuis
e311a6835e
Add valve platform support to google_assistant ( #106139 )
...
* Add valve platform to google_assistant
* Use constant for domains set
2023-12-23 16:46:25 +01:00