HomeAssistant Azure
6fab4a2c82
[ci skip] Translation update
2021-03-22 00:08:34 +00:00
HomeAssistant Azure
098c53e8b5
[ci skip] Translation update
2021-03-20 00:04:10 +00:00
Marc Mueller
4cb7718192
Update typing 16 ( #48087 )
2021-03-18 22:58:19 +01:00
Marc Mueller
25a13d1554
Update typing 10 ( #48071 )
2021-03-18 13:07:04 +01:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() ( #47758 )
2021-03-11 20:11:25 +01:00
Czapla
8018097c54
Add title key to allow mobile app title translation to other languages ( #46593 )
2021-03-08 18:37:37 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
tkdrob
ab53b49d3f
Clean up constants ( #46948 )
...
* Clean up constants
* clean up humidifier constants
* fix tests
* fix prometheus tests
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-03-02 12:52:00 +01:00
Erik Montnemery
26e7916367
Migrate mobile_app to RestoreEntity ( #46391 )
2021-02-11 20:18:03 +01:00
HomeAssistant Azure
ce159d7db3
[ci skip] Translation update
2021-02-06 00:07:22 +00:00
HomeAssistant Azure
c6bd5b1b71
[ci skip] Translation update
2021-02-05 00:03:54 +00:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Fabian Affolter
811bbb7acb
Upgrade emoji to 1.2.0 ( #45847 )
2021-02-02 15:56:56 +01:00
Marc Mueller
6aadf14bdd
Add mobile_app notify ClientError handling ( #45480 )
2021-01-27 20:39:43 +01:00
HomeAssistant Azure
6b743c3d16
[ci skip] Translation update
2020-12-24 00:03:44 +00:00
HomeAssistant Azure
139fb518d6
[ci skip] Translation update
2020-12-23 00:03:22 +00:00
HomeAssistant Azure
f3cabe97e0
[ci skip] Translation update
2020-12-21 00:04:09 +00:00
HomeAssistant Azure
4bdb793a94
[ci skip] Translation update
2020-12-18 00:03:48 +00:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
HomeAssistant Azure
ebe57d4fdb
[ci skip] Translation update
2020-12-08 00:04:13 +00:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
6e74f90136
[ci skip] Translation update
2020-12-05 00:03:50 +00:00
Franck Nijhof
f2a371257d
Translation update
2020-12-02 20:51:05 +01:00
Paulus Schoutsen
6c9c280bbb
Migrate notify-leaving-zone to use mobile app device action ( #43832 )
2020-12-02 13:07:04 +01:00
HomeAssistant Azure
fc42f59b0b
[ci skip] Translation update
2020-12-02 00:03:14 +00:00
Paulus Schoutsen
7d23ff6511
Add device action to mobile app to notify ( #43814 )
2020-12-01 18:14:01 +01:00
HomeAssistant Azure
fcd8684d40
[ci skip] Translation update
2020-11-24 00:04:19 +00:00
HomeAssistant Azure
ed232ac733
[ci skip] Translation update
2020-10-24 00:05:17 +00:00
Paulus Schoutsen
57996e1942
Improve mobile app template handling ( #41703 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-12 17:26:54 +02:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
springstan
6a7caad8dc
Use content type json constant ( #40312 )
2020-09-23 20:21:55 +02:00
Ville Skyttä
5e90a4d000
Use more state attribute name constants ( #40428 )
2020-09-21 23:03:39 +02:00
HomeAssistant Azure
587e3f1eb2
[ci skip] Translation update
2020-09-21 00:02:47 +00:00
springstan
db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY ( #39993 )
...
* Use http status codes and add HTTP_BAD_GATEWAY constant
* Address review comments:
- using constants in tado integration
- using constant in media_player init.py
* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
Tom Brien
56057a638f
Clarify when message come from FCM ( #39455 )
2020-08-30 14:04:36 -05:00
Daniel Shokouhi
d587f134ca
Reload mobile app notify service upon device name change, add device name to all webhook logs ( #39364 )
...
* Add device name to all webhook logs to help with multiple devices
* Reload notifications when we update the registration, update from rebase
* Make hassfest happy
* Adjust caplog test to accomodate log message change
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-28 15:13:43 -05:00
J. Nick Koston
85869be2d8
Unregister mobile_app notification services when a device is removed ( #39359 )
2020-08-28 12:37:19 -05:00
Anna Tikhomirova
33a05541a4
Simplify mobile app debugging by adding sender device name ( #38518 )
...
* Simplify mobile app debugging by adding sender device name.
* Reformatted webhook.py with black
2020-08-28 12:36:59 -05:00
J. Nick Koston
3377f6b12a
Register mobile_app notification services when a new device is added ( #39356 )
...
* Register mobile_app notification services when a new device is added
* targets and base service use their own patterns to generate the name
2020-08-28 12:18:02 -05:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Paulus Schoutsen
d1780b8d7e
Mobile App integration to use tag integration ( #38757 )
2020-08-11 14:23:47 +02:00
Paulus Schoutsen
52729e9dc8
Add scan_tag webhook to mobile app ( #38721 )
2020-08-10 17:54:46 +02:00
HomeAssistant Azure
a6fb9e6100
[ci skip] Translation update
2020-07-03 00:03:38 +00:00
Tom Brien
29f128eaad
Handle Mobile App registrations for device names containing of only emoji ( #36957 )
2020-06-21 18:12:15 +02:00
Zac West
8541ae0360
mobile_app: Camera Stream Webhook ( #36839 )
2020-06-15 19:09:53 -07:00
HomeAssistant Azure
b15caf31a9
[ci skip] Translation update
2020-06-15 00:03:32 +00:00
Franck Nijhof
2abd3844cf
Fix mobile_app missing state in sensor registration ( #36604 )
2020-06-09 11:06:52 -07:00
Franck Nijhof
85ba29012f
Fix mobile_app sensor re-registration handling ( #36567 )
2020-06-08 21:11:37 +02:00
Paulus Schoutsen
3adfb86a19
Mobile app fixes ( #36559 )
2020-06-08 10:20:25 -07:00
Franck Nijhof
b3cbce3566
Fix mobile_app registering/update sensor values with an unknown state ( #36566 )
2020-06-08 10:07:05 -07:00
Paulus Schoutsen
68b077ffaa
Add partial mobile app sensor validation ( #36433 )
2020-06-04 10:13:01 +02:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
HomeAssistant Azure
f4f2aff5b6
[ci skip] Translation update
2020-05-02 00:04:57 +00:00
Erik Montnemery
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
Paulus Schoutsen
e002c84eba
Don't set step title if it's integration title ( #34524 )
2020-04-22 15:05:39 +02:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root ( #33850 )
2020-04-15 09:41:18 -07:00
springstan
4c38e6cfa5
Use HTTP_BAD_REQUEST constant ( #33797 )
2020-04-09 21:43:42 +02:00
springstan
8d61893c39
Use HTTP_OK constant ( #33798 )
...
* Use http ok constant
* Remove incorrect use
* Run isort
* Fix pylint by adding missing imports
* Fix pylint by fixing one import
2020-04-08 11:47:38 -05:00
springstan
c20a965eda
Improve string formatting v3 ( #33667 )
...
* Improve string formatting v3
* Address review comment
2020-04-05 01:32:58 +02:00
springstan
db72039b8f
Use list literals ( #33659 )
2020-04-04 23:14:47 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
springstan
ba0aaeeddb
Use f-strings in integrations starting with "M" ( #32271 )
...
* Use f-strings in integrations starting with "M"
* Format mqtt light init with black
* Fix lint error
* Fix pylint error
* Restore constants
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Format with Black
2020-03-10 23:34:54 +01:00
Paulus Schoutsen
7678d66464
Fix device tracker TrackerEntity defaults ( #32459 )
2020-03-04 09:43:52 +01:00
springstan
1ee7c483a7
Update file headers and outdated documentation links ( #32022 )
...
* Update documentation links
* Update file headers v2
2020-02-20 15:29:46 -08:00
Daniel Shokouhi
43256ebd83
Add device name to sensor name for mobile_app ( #31756 )
...
* Add device name to sensor name
* Update test to include device name
2020-02-12 11:40:39 -08:00
Robbie Trencheny
0700d38d1f
Add new webhook action to allow enabling encryption in an exis… ( #31743 )
...
* Add new webhook action to allow enabling encryption in an existing registration
* Harden tests
* Make requested fixes
2020-02-11 23:56:22 -08:00
Paulus Schoutsen
e5365779fe
Allow unloading mobile app ( #30995 )
2020-01-22 09:57:47 -08:00
Franck Nijhof
bfa0edaf92
Migrate Integration Quality Scale from docs to manifest: internal ( #30551 )
2020-01-07 20:58:49 +01:00
rccoleman
4a2987e790
Allow specific status codes while notifying mobile_app devices ( #30496 )
...
* Removed check and return with a notification status of 201
* Allow additional result codes
Allow 200, 201, and 202 as valid result codes
2020-01-06 23:41:07 +01:00
Paulus Schoutsen
95cd0a2c68
Mobile App add device tracker to person registering app ( #30460 )
2020-01-04 23:15:50 +01:00
Paulus Schoutsen
2f362b44c4
Allow adding unique device ID to mobile app registration ( #30457 )
...
* Allow adding unique device ID to mobile app registration
* Remove unknown data
* Better fix
2020-01-04 13:45:03 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
Paulus Schoutsen
834929a14e
Clean up mobile app webhooks ( #30123 )
2019-12-21 22:45:06 +01:00
Justin Bassett
114390c95e
Fix mobile app device identifiers ( #29920 )
...
Fix identifiers when updating device registration.
2019-12-14 07:36:12 +01:00
Ville Skyttä
130571c478
Remove no longer needed auth.util, use secrets instead ( #29861 )
2019-12-12 16:46:33 +01:00
springstan
1846b45cb5
Move imports to top for mobile_app ( #29511 )
2019-12-05 16:59:31 +01:00
Paulus Schoutsen
e99184bf68
Install requirements of after_dependencies when loading integrations ( #29491 )
...
* Install requirements of after_dependencies when loading integrations
* Fix smartthings test
2019-12-05 09:28:56 +01:00
Paulus Schoutsen
f6780c1fa2
Allow negative altitude in location updates ( #29381 )
2019-12-03 22:39:12 -08:00
Paulus Schoutsen
e26eebfc19
Remove cloud dependency from mobile_app ( #29373 )
2019-12-03 15:43:48 -08:00
Paulus Schoutsen
4cfd24a03a
Fix mobile app device identifiers ( #29173 )
2019-11-27 20:27:22 -08:00
Ville Skyttä
99c7608fb4
Lint config cleanups ( #28864 )
...
* Remove bunch of unneeded lint exclusions
* Use symbolic names instead of identifiers in pylint disables
* Tighten scope of some pylint disables
2019-11-25 22:40:08 -08:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
HomeAssistant Azure
f170ac48d2
[ci skip] Translation update
2019-11-15 00:32:15 +00:00
HomeAssistant Azure
95295791bd
[ci skip] Translation update
2019-10-25 00:32:15 +00:00
Diefferson Koderer Môro
3e9d28f28a
Move imports in mobile_app component ( #28027 )
2019-10-21 10:05:41 +02:00
HomeAssistant Azure
ff3c0e5697
[ci skip] Translation update
2019-10-21 00:32:17 +00:00
Jordan Speicher
86da3fb334
Add mobile_app dependency on cloud ( #27470 )
2019-10-12 13:05:01 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Tsvi Mostovicz
80136f3591
Change datetime.now() to dt_util.now() ( #26582 )
...
* Change datetime.now() to dt_util.now() in cases where the functionality should stay the same
These changes should not affect the functionality, rather cleanup our codebase.
In general we would like integrations to not to use datetime.now() unless there's a very good
reason for it, rather use our own dt_util.now() which makes the code aware of our current time
zone.
* Use datetime.utcnow() for season sensor to get offset-naive utc time
* Revert "Use datetime.utcnow() for season sensor to get offset-naive utc time"
This reverts commit 5f36463d9c7d52f8e11ffcec7e57dfbc7b21bdd1.
* BOM sensor last_updated should be UTC as well
* Run black
* Remove unused last_partition_update variable
2019-09-19 08:39:09 +02:00
HomeAssistant Azure
0b1f389c76
[ci skip] Translation update
2019-09-07 00:32:45 +00:00
Franck Nijhof
7203027cbf
Use literal string interpolation in integrations K-M (f-strings) ( #26389 )
2019-09-03 21:14:00 +02:00