Erik Montnemery and Paulus Schoutsen
8409385fca
Bump pychromecast to 7.1.2 ( #37976 )
2020-07-20 00:35:18 +00:00
Erik Montnemery and GitHub
53d6f4948e
Adapt MQTT config flow to default birth and will ( #37875 )
2020-07-15 11:16:03 -07:00
Erik Montnemery and Paulus Schoutsen
502f0cd2ce
Fix MQTT availability startup race ( #37718 )
2020-07-14 01:10:42 +00:00
Erik Montnemery and Paulus Schoutsen
114fbb1278
Tweak MQTT availability ( #37719 )
2020-07-14 01:10:25 +00:00
Erik Montnemery and Paulus Schoutsen
5d26f5d01d
Support multiple MQTT availability topics ( #37418 )
...
* Support multiple MQTT availability topics
* Make availability list and availability_topic exclusive
* Make availability list and availability_topic exclusive
* Add missing abbreviation
2020-07-14 01:10:15 +00:00
Erik Montnemery and GitHub
b187b17a4f
Fix MQTT availability startup race ( #37718 )
2020-07-10 09:40:15 -07:00
Erik Montnemery and GitHub
383db60dff
Tweak MQTT availability ( #37719 )
2020-07-10 09:39:18 -07:00
Erik Montnemery and GitHub
fb3049d6a2
Set MQTT sensor to state unavailable when value expires ( #36609 )
2020-07-08 16:20:19 -07:00
Erik Montnemery and GitHub
550f9ba9b0
Modify cast tests to setup via cast integration ( #37256 )
...
* Improve tests
* Improve tests
* Don't start zeroconf from tests
2020-07-08 12:11:34 -07:00
Erik Montnemery and Paulus Schoutsen
050a558243
Fix base topic for 'topic' ( #37475 )
2020-07-06 22:19:57 +00:00
Erik Montnemery and GitHub
b826970b16
Fix base topic for 'topic' ( #37475 )
2020-07-06 15:17:13 -07:00
Erik Montnemery and GitHub
b63655057c
Publish birth and will messages by default ( #37371 )
...
* Publish birth and will messages by default
* Remove useless copy
2020-07-04 17:49:08 +02:00
Erik Montnemery and GitHub
4b3ad0a1cd
Support multiple MQTT availability topics ( #37418 )
...
* Support multiple MQTT availability topics
* Make availability list and availability_topic exclusive
* Make availability list and availability_topic exclusive
* Add missing abbreviation
2020-07-04 17:48:34 +02:00
Erik Montnemery and GitHub
9ade1de3d5
Support empty output of MQTT binary_sensor value_template ( #37420 )
...
* Support empty output of MQTT binary_sensor value_template
* Strip white space
* Add test
* Add test
2020-07-04 17:48:02 +02:00
Erik Montnemery and GitHub
ebcee2eb35
Fix geonetnz_quakes test flapping ( #37473 )
2020-07-04 17:42:28 +02:00
Erik Montnemery and Paulus Schoutsen
08ebc4ce62
Don't print MQTT credentials to log ( #37364 )
2020-07-03 22:42:50 +00:00
Erik Montnemery and GitHub
cd5f6a0c56
Don't print MQTT credentials to log ( #37364 )
2020-07-03 11:01:22 -07:00
Erik Montnemery and GitHub
86c27b50f1
Bump pychromecast to 7.0.1 ( #37225 )
...
* Bump pychromecast to 7.0.1
* Fix tests
* Mark configuration via platform for removal in 0.116
* Fix uuid check
2020-06-30 16:35:10 +02:00
Erik Montnemery and GitHub
bb17cbdd83
Drop MQTT broker tls_version parameter ( #37033 )
2020-06-23 12:12:37 -07:00
4e77969f5e
Drop use of mock_mqtt_component ( #37013 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-06-23 10:17:22 -07:00
Erik Montnemery and GitHub
1b3e5460a9
Remove embedded MQTT broker ( #37032 )
2020-06-23 09:51:50 -07:00
Erik Montnemery and GitHub
747490ab34
Support reconfiguring MQTT config entry ( #36537 )
2020-06-22 17:49:01 -07:00
Erik Montnemery and GitHub
280f49540e
Drop use of async_mock_mqtt_component ( #37011 )
2020-06-22 23:59:50 +02:00
Erik Montnemery and GitHub
a2e2c35011
Use pytest for more MQTT tests ( #36859 )
...
* Use pytest for more MQTT tests
* Address review comments
* Break out PAHO client mock in separate fixture.
* tweak.
2020-06-22 22:02:29 +02:00
Erik Montnemery and GitHub
16cf16e418
Update MQTT tests to not create duplicated config entries ( #36833 )
2020-06-15 15:38:56 -07:00
Erik Montnemery and GitHub
922b332766
Update config_entry_flow test test_user_has_confirmation ( #36633 )
...
* Update test_user_has_confirmation
* Rewrite test according to review comment
2020-06-13 06:43:13 +02:00
Erik Montnemery and GitHub
14bff5a375
Abort other config flows on import ( #36608 )
...
* Abort other flows on import
* Add test
2020-06-10 22:46:14 +02:00
Erik Montnemery and Paulus Schoutsen
c987ca735e
Bump pychromecast to 6.0.0 ( #36414 )
...
* Revert "Prevent race in pychromecast.start_discovery (#36350 )"
This reverts commit 391983a0cf .
* Adapt to pychromecast 6.0.0
2020-06-07 17:24:40 -07:00
Erik Montnemery and GitHub
35cd6b9abf
Remove unused parameter for MQTT discovery ( #36526 )
...
* Remove unused parameter for MQTT discovery
* Fix tests
2020-06-07 19:35:35 +02:00
Erik Montnemery and GitHub
f170c80bea
Bump pychromecast to 6.0.0 ( #36414 )
...
* Revert "Prevent race in pychromecast.start_discovery (#36350 )"
This reverts commit 391983a0cf .
* Adapt to pychromecast 6.0.0
2020-06-04 20:32:00 +02:00
Erik Montnemery and GitHub
7722e417ad
Stable device id when a deleted device is restored ( #36309 )
...
* Stable device id when a deleted device is restored.
* Tweak
* Store only basic data for deleted devices
* Simplify code
* Simplify code
* Address review comments.
* Improve test
* Fix missing save
2020-06-02 21:22:08 +02:00
Erik Montnemery and GitHub
391983a0cf
Prevent race in pychromecast.start_discovery ( #36350 )
...
* Workaround for race in pychromecast
* Fix tests
2020-06-01 23:25:06 +02:00
Erik Montnemery and Paulus Schoutsen
093d797c3b
Correct MQTT device trigger reconfiguration with same topic ( #36234 )
2020-05-28 15:52:34 -07:00
Erik Montnemery and Paulus Schoutsen
8426bdc9ae
Fix custom position range ( #36222 )
2020-05-28 15:52:33 -07:00
Erik Montnemery and Paulus Schoutsen
3a80cb1d1d
Bump zeroconf, pychromecast. Log if zeroconf.get_service_info fails. ( #36185 )
2020-05-28 15:52:31 -07:00
Erik Montnemery and Paulus Schoutsen
2df1c90e6a
Let PAHO MQTT client handle connection to MQTT server ( #35983 )
...
* Let PAHO client handle connection to MQTT server
2020-05-28 15:51:12 -07:00
Erik Montnemery and GitHub
f1af5b71e2
Correct MQTT device trigger reconfiguration with same topic ( #36234 )
2020-05-28 15:50:23 -07:00
Erik Montnemery and GitHub
31250eafe8
Fix custom position range ( #36222 )
2020-05-28 11:37:09 -06:00
Erik Montnemery and GitHub
c7e97f0cf8
Bump zeroconf, pychromecast. Log if zeroconf.get_service_info fails. ( #36185 )
2020-05-27 07:31:26 -04:00
Erik Montnemery and GitHub
8de863ecf1
Let PAHO MQTT client handle connection to MQTT server ( #35983 )
...
* Let PAHO client handle connection to MQTT server
2020-05-26 17:12:22 +02:00
Erik Montnemery and GitHub
b136390647
Reset zeroconf log level ( #36002 )
2020-05-23 11:29:13 -05:00
Erik Montnemery and GitHub
f1ecac92df
Fail tests if wrapped callbacks or coroutines throw ( #35010 )
2020-05-06 14:14:57 -07:00
Erik Montnemery and GitHub
f9b420a5a5
Make sure MQTT light brightness is not rounded to 0 ( #35207 )
2020-05-04 15:54:49 -07:00
Erik Montnemery and GitHub
2b13a8cde4
Include QoS and retain in MQTT debug info ( #35011 )
2020-05-01 08:41:57 -07:00
f3d79104a7
Rename WaterHeaterDevice to WaterHeaterEntity ( #34675 )
...
* Rename WaterHeaterDevice to WaterHeaterEntity
* Fix stale name
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2020-05-01 16:29:14 +02:00
Erik Montnemery and Paulus Schoutsen
b68228c7e8
Fix MQTT debug info for same topic ( #34952 )
2020-04-30 22:37:56 -07:00
Erik Montnemery and GitHub
82a478e2fb
Fix MQTT debug info for same topic ( #34952 )
2020-04-30 22:34:44 -07:00
Erik Montnemery and GitHub
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery and GitHub
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
Erik Montnemery and GitHub
aa60d362fd
Rename RemoteDevice to RemoteEntity ( #34676 )
2020-04-26 02:12:36 +02:00
Erik Montnemery and GitHub
d3ed80cf53
Rename VacuumDevice to VacuumEntity ( #34674 )
2020-04-26 02:11:08 +02:00
Erik Montnemery and GitHub
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Erik Montnemery and GitHub
6f7f5b4034
Rename AlarmControlPanel to AlarmControlPanelEntity ( #34590 )
2020-04-25 18:05:28 +02:00
Erik Montnemery and GitHub
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
Erik Montnemery and GitHub
b30d117e7d
Rename LockDevice to LockEntity ( #34594 )
2020-04-25 18:02:41 +02:00
Erik Montnemery and GitHub
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
Erik Montnemery and Paulus Schoutsen
3560081efd
Only subscribe when MQTT client is connected. ( #34557 )
2020-04-23 12:57:53 -07:00
Erik Montnemery and Paulus Schoutsen
38342b2f25
Remove reconnect logic from MQTT client. ( #34556 )
2020-04-23 12:57:52 -07:00
Erik Montnemery and GitHub
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Erik Montnemery and GitHub
4448eb94a1
Only subscribe when MQTT client is connected. ( #34557 )
2020-04-22 14:38:04 -07:00
Erik Montnemery and GitHub
6631bbc6f5
Remove reconnect logic from MQTT client. ( #34556 )
2020-04-22 14:28:36 -07:00
Erik Montnemery and GitHub
877eb0c3ad
Don't log same MQTT message multiple times ( #34511 )
2020-04-21 16:48:04 -07:00
Erik Montnemery and GitHub
8e150ff1f5
Bump pychromecast ( #34466 )
...
* Bump pychromecast
* Fix tests
2020-04-21 07:57:39 +02:00
Erik Montnemery and GitHub
f04be61f6f
Bump zeroconf to 0.25.1 ( #34341 )
2020-04-17 11:12:26 -07:00
ec2c7ea932
Don't do http requests to determine Cast device details ( #34082 )
...
* Don't do http requests to determine cast device details
* Fix tests
* Update homeassistant/components/cast/media_player.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-04-12 15:02:28 -07:00
Erik Montnemery and GitHub
6d3046cb42
Remove support for cast dynamic speaker groups ( #33884 )
2020-04-10 10:36:57 -07:00
Erik Montnemery and GitHub
a0b3a9e50b
Discover manually added casts ( #33922 )
...
* Discover manually added casts
2020-04-10 17:19:44 +02:00
Erik Montnemery and GitHub
3845539577
Lookup manufacturer name for casts ( #33845 )
...
* Lookup manufacturer name, remove use of get_multizone_status
* Bump pychromecast
* Bump pychromecast
* Fix test
2020-04-09 10:58:19 +02:00
Erik Montnemery and GitHub
ddef681dd2
Improve MQTT debug info for subscriptions with wildcard ( #33752 )
2020-04-07 09:38:22 -07:00
Erik Montnemery and GitHub
5cfae3f177
Add emontnemery as codeowner for cast, mqtt ( #33784 )
2020-04-07 09:13:02 -07:00
Erik Montnemery and Paulus Schoutsen
8a68b1a3a9
Fix MQTT debug info for subscriptions with wildcard. ( #33744 )
2020-04-06 10:31:40 -07:00
Erik Montnemery and GitHub
f3b6575272
Fix MQTT debug info for subscriptions with wildcard. ( #33744 )
2020-04-06 10:25:09 -07:00
Erik Montnemery and GitHub
3a74066529
Small cleanup in async_process_ha_core_config ( #33583 )
2020-04-03 09:44:20 -07:00
Erik Montnemery and GitHub
4e6fd19624
Improve MQTT test coverage and remove dead code ( #33584 )
...
* Improve MQTT tests and remove dead code
* Remove useless test.
* Add more test
2020-04-03 09:05:58 -07:00
Erik Montnemery and Paulus Schoutsen
08b0c1178b
Fix MQTT cleanup regression from #32184 . ( #33532 )
2020-04-02 17:10:37 -07:00
Erik Montnemery and GitHub
3df46cd70a
Remove MQTT state vacuum value_template support. ( #33536 )
...
* Fix MQTT state vacuum value_template support.
* Remove support for state_template
2020-04-02 16:46:18 -07:00
Erik Montnemery and GitHub
457d439e24
Fix MQTT cleanup regression from #32184 . ( #33532 )
2020-04-02 09:52:05 -07:00
Erik Montnemery and GitHub
fbd197146a
Add MQTT debug info for remaining MQTT integrations ( #33506 )
2020-04-01 11:48:32 -07:00
Erik Montnemery and GitHub
fb93b79b12
Add MQTT debug info ( #33461 )
...
* Add MQTT debug info
* Tweaks
* Tweaks
2020-04-01 10:00:40 -07:00
Erik Montnemery and GitHub
9508c51403
Fix change of entity_id for discovered MQTT entities ( #33444 )
2020-03-30 14:26:59 -07:00
Erik Montnemery and GitHub
867630a4a7
Remove state when entity is removed from registry ( #32184 )
2020-03-26 16:33:50 -07:00
Erik Montnemery and GitHub
e0d2e5dcb0
Remove deprecated features from MQTT platforms ( #32909 )
...
* Remove deprecated features
* Lint
2020-03-18 22:39:15 -07:00
Erik Montnemery and GitHub
505de3dce3
Add attributes and availability to MQTT camera ( #32908 )
2020-03-17 16:49:50 -07:00
Erik Montnemery and GitHub
52a4c16980
Improve MQTT light test coverage ( #32907 )
2020-03-17 18:29:12 -05:00
Erik Montnemery and GitHub
86d48c608e
Deduplicate MQTT tests ( #32874 )
2020-03-17 02:09:19 -05:00
Erik Montnemery and GitHub
8bc542776b
Cleanup entity and device registry on MQTT discovery removal ( #32693 )
...
* Cleanup entity and device registry on MQTT discovery removal.
* Review comments
2020-03-11 18:00:47 -07:00
Erik Montnemery and GitHub
f7ddbc7e1e
Remove duplicated config from MQTT tests ( #32689 )
2020-03-11 09:34:19 -07:00
Erik Montnemery and GitHub
324dfe07b4
Clear discovery topic for MQTT device triggers ( #32617 )
2020-03-09 21:59:38 -07:00
Erik Montnemery and GitHub
4bb9f1800d
Deduplicate MQTT mixin tests ( #32563 )
...
* Deduplicate MQTT mixin tests
* Remove test of not yet merged function
2020-03-09 09:40:00 -07:00
Erik Montnemery and GitHub
c4ac3155e4
Add brightness to light device turn_on action ( #32219 )
...
* Add support for setting brightness
* Remove default brightness
2020-02-29 13:33:20 +01:00
3b17e570df
Add device actions to cover ( #28064 )
...
* Add device actions to cover
* Remove toggle action, improve tests
* lint
* lint
* Simplify actions
* Update homeassistant/components/cover/device_action.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
* Improve tests
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-02-27 21:05:43 -08:00
Erik Montnemery and Paulus Schoutsen
a77fd4892e
Add missing translations for light actions ( #32216 )
2020-02-27 14:00:50 -08:00
Erik Montnemery and GitHub
c92aa30663
Add missing translations for light actions ( #32216 )
2020-02-26 10:24:43 -08:00
Erik Montnemery and GitHub
2d6b80470f
Improve error handling ( #32182 )
2020-02-25 10:44:24 -08:00
Erik Montnemery and GitHub
7e387f93d6
Add MQTT WS command to remove device ( #31989 )
...
* Add MQTT WS command to remove device
* Review comments, fix test
* Fix tests
2020-02-24 20:46:02 -08:00
Erik Montnemery and GitHub
60ae85564e
Add support for MQTT device triggers ( #31679 )
...
* Add support for MQTT device triggers
* Fix test, tweaks
* Improve test coverage
* Address review comments, improve tests
* Tidy up exception handling
* Fix abbreviations
* Rewrite to handle update of attached triggers
* Update abbreviation test
* Refactor according to review comments
* Refactor according to review comments
* Improve trigger removal
* Further refactoring
2020-02-18 13:51:10 -08:00
Erik Montnemery and GitHub
8ae43d2de3
Add device triggers to cover ( #28063 )
...
* Add device triggers to cover
* Use numeric_state trigger instead of template trigger
* Tweak translations
2019-10-30 20:49:01 +01:00
Erik Montnemery and Paulus Schoutsen
4a25bab1b3
Fix broken deconz trigger ( #28211 )
2019-10-28 11:28:39 -07:00
Erik Montnemery and Paulus Schoutsen
3cedee3fea
Add above and below to sensor condition extra_fields ( #27364 )
...
* Add above and below to sensor condition extra_fields
* Change unit_of_measurement to suffix in extra_fields
* Check if sensor has unit when getting capabilities
* Improve tests
2019-10-28 11:28:39 -07:00
Erik Montnemery and GitHub
475b43500a
Add above and below to sensor condition extra_fields ( #27364 )
...
* Add above and below to sensor condition extra_fields
* Change unit_of_measurement to suffix in extra_fields
* Check if sensor has unit when getting capabilities
* Improve tests
2019-10-26 06:55:42 +08:00