Chris Browet
5a2bcd2763
ADD: generalize regex_findall ( #54584 )
2021-09-05 12:41:39 +02:00
Brian Egge
c81a319346
Handle unknown preset mode in generic thermostat ( #55588 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-09-04 13:17:57 -07:00
jan iversen
6348bf70ac
Add caplog setup fixture. ( #55714 )
2021-09-04 07:09:55 -07:00
Erik Montnemery
38d42de2c0
Handle negative numbers in sensor long term statistics ( #55708 )
...
* Handle negative numbers in sensor long term statistics
* Use negative states in tests
2021-09-04 10:47:42 +02:00
jan iversen
7aa454231f
Update template/test_sensor.py to use pytest ( #55288 )
2021-09-03 22:56:12 -07:00
Paulus Schoutsen
19c54b8cbf
Drop unused ruamel ( #55672 )
2021-09-03 22:17:10 -07:00
J. Nick Koston
195ee2a188
Avoid creating sockets in homekit port available tests ( #55668 )
...
* Avoid creating sockets in homekit port available tests
* prevent new bridge from being setup -- its too fast now that the executor job is gone and it revealed an unpatched setup
2021-09-03 17:15:28 -10:00
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements ( #55402 )
...
* Make automation trigger info a TypedDict
* zwave_js trigger type hint fixes
* Remove redundant automation trigger info field presence checks
* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00
epenet
0749e045bb
Add reauth to Renault config flow ( #55547 )
...
* Add reauth flow to async_setup_entry
* Add reauth flow to config_flow
* Add reauth tests
* Split reauth/reauth_confirm
* unindent code
* Add entry_id and unique_id to reauth flow testing
* Use description_placeholders for username
* fix typo
2021-09-04 02:17:24 +02:00
jan iversen
a756308e79
Update template/test_binary_sensor.py to use pytest ( #55220 )
2021-09-03 15:43:07 -07:00
Marc Mueller
ce6921d73c
Use EntityDescription - picnic ( #55682 )
...
* Use EntityDescription - picnic
* Change _attr_extra_state_attributes to be static
* Fix tests
2021-09-03 22:35:59 +02:00
Paulus Schoutsen
7111fc47c4
Better handle invalid trigger config ( #55637 )
2021-09-03 10:15:57 -07:00
Paulus Schoutsen
e0f640c0f8
Guard for doRollover failing ( #55669 )
2021-09-03 09:53:47 -07:00
J. Nick Koston
25b39b36e7
Ignore missing devices when in ssdp unsee ( #55553 )
2021-09-03 09:06:07 -07:00
Paulus Schoutsen
418d6a6a41
Guard for unexpected exceptions in device automation ( #55639 )
...
* Guard for unexpected exceptions in device automation
* merge
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-03 09:04:50 -07:00
ehendrix23
4310a7d814
Add upnp sensor for IP, Status, and Uptime ( #54780 )
...
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-09-03 17:15:28 +02:00
Erik Montnemery
4684ea2d14
Prevent 3rd party lib from opening sockets in broadlink tests ( #55636 )
2021-09-03 10:13:35 +02:00
Paulus Schoutsen
0c2772e0be
Fix template sensor availability ( #55635 )
2021-09-03 09:02:45 +02:00
Pascal Vizeli
8319f232b8
Disable observer for USB on containers ( #55570 )
...
* Disable observer for USB on containers
* remove operating system test
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-03 08:05:37 +02:00
J. Nick Koston
d8a81a54d8
Narrow zwave_js USB discovery ( #55613 )
...
- Avoid triggering discovery when we can know in advance the
device is not a Z-Wave stick
2021-09-03 05:11:03 +02:00
Erik Montnemery
7dbe8070f7
Mock out network.util.async_get_source_ip in tests ( #55592 )
2021-09-02 20:44:50 +02:00
J. Nick Koston
363320eedb
Mock sockets in the network integration tests ( #55594 )
2021-09-02 20:44:42 +02:00
Erik Montnemery
2e5c1236f9
Prevent 3rd party lib from opening sockets in freedompro tests ( #55596 )
2021-09-02 19:32:19 +02:00
Erik Montnemery
348bdca647
Prevent 3rd party lib from opening sockets in epson tests ( #55595 )
2021-09-02 19:30:53 +02:00
Erik Montnemery
cabb9c0ea4
Prevent 3rd party lib from opening sockets in broadlink tests ( #55593 )
2021-09-02 19:03:24 +02:00
Erik Montnemery
bfd799dc04
Use hass_client_no_auth test fixture in integrations s-x ( #55585 )
2021-09-02 14:50:10 +02:00
Erik Montnemery
acdddabe1f
Use hass_client_no_auth test fixture in integrations h-p ( #55583 )
2021-09-02 14:49:40 +02:00
Erik Montnemery
d5b6dc4f26
Use hass_client_no_auth test fixture in integrations a-g ( #55581 )
2021-09-02 14:49:20 +02:00
Erik Montnemery
cdaba62d2c
Add test fixture for unauthenticated HTTP client ( #55561 )
...
* Add test fixture for unauthenticated HTTP client
* Remove things from the future
2021-09-02 13:09:16 +02:00
Raman Gupta
02eba22068
Add additional test coverage for zwave_js meter sensors ( #55465 )
2021-09-01 17:22:17 -04:00
Erik Montnemery
7dbd0e5274
Fix zeroconf mock and use it in CI group 1's tests ( #55526 )
...
* Fix zeroconf mock and use it in CI group 1's tests
* Mock HaAsyncServiceBrowser
2021-09-01 22:38:00 +02:00
Erik Montnemery
e631671832
Use respx.mock in generic camera tests ( #55521 )
2021-09-01 20:45:29 +02:00
Paulus Schoutsen
27e29b714c
Bump cloud to 0.47.1 ( #55312 )
...
* Bump cloud to 0.47.0
* Bump reqs
* Bump to 0.47.1
* Do not load hass_nabucasa during http startup
* fix some tests
* Fix test
Co-authored-by: Ludeeus <ludeeus@ludeeus.dev>
2021-09-01 09:54:54 -07:00
epenet
f8ec85686a
Add select platform to Renault integration ( #55494 )
...
* Add select platform to Renault integration
* Fix pylint
2021-09-01 14:44:10 +02:00
Joakim Sørensen
33fb080c1e
Add remote server to cloud system health ( #55506 )
...
* Add sintun server to cloud system health
* Update name
* Adjust test
2021-09-01 13:23:50 +02:00
Paulus Schoutsen
9284f7b147
Tweaks for the iotawatt integration ( #55510 )
2021-09-01 13:18:50 +02:00
epenet
bcf97cb308
Add device tracker platform to Renault integration ( #54745 )
2021-09-01 13:10:48 +02:00
Joakim Sørensen
befcafbc49
Mock setup in spotify tests ( #55515 )
2021-09-01 11:27:21 +02:00
epenet
02b7356596
Add services to Renault integration ( #54820 )
...
* Add services
* Add tests
* Cleanup async
* Fix pylint
* Update services.yaml
* Add extra schema validation
* Rename constants
* Simplify code
* Move constants
* Fix pylint
* Cleanup constants
* Drop charge_set_mode as moved to select platform
* Only register the services if no config entry has registered them yet
* Replace VIN with device selector to select vehicle
* Update logging
* Adjust type checking
* Use a shared base SERVICE_VEHICLE_SCHEMA
* Add selectors for ac_start (temperature/when)
* Add object selector for charge_set_schedules service
2021-09-01 11:23:54 +02: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
Erik Montnemery
93c086d830
Correct sum statistics when only last_reset has changed ( #55498 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-31 21:30:52 -07:00
Erik Montnemery
5d1a193eca
Improve log for sum statistics ( #55502 )
2021-08-31 19:15:22 +02:00
Raman Gupta
4d98a7e156
Allow device_id template function to use device name as input ( #55474 )
2021-08-31 14:56:47 +02:00
Joakim Sørensen
3e38dc0fd9
Add cache-control headers to supervisor entrypoint ( #55493 )
2021-08-31 14:45:28 +02:00
Erik Montnemery
f9225bad5f
Make new cycles for sensor sum statistics start with 0 as zero-point ( #55473 )
2021-08-31 10:45:17 +02:00
Eric Severance
88a08fdf57
Wemo Insight devices need polling when off ( #55348 )
2021-08-31 09:32:26 +02:00
Paulus Schoutsen
d277e0fb03
Add Eagle 200 name back ( #55477 )
...
* Add Eagle 200 name back
* add comment
* update tests
2021-08-31 08:45:35 +02:00
Matthew Garrett
dd21bf73fc
Assistant sensors ( #55480 )
2021-08-30 20:33:06 -07:00
Erik Montnemery
18c03e2f8d
Fix race in MQTT sensor when last_reset_topic is configured ( #55463 )
2021-08-30 23:32:35 +02:00
ha0y
433775cf4b
Add input_select and select domain support for HomeKit ( #54760 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-30 15:28:26 -05:00