Adding Transition from Park to Drive (#3551)

* Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Revert "Adding Missing Elements for the Automotive XML"

This reverts commit 04148ee42fd1ea97c573b979b93645b85a0d1add.

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Revert "Adding Missing Elements for the Automotive XML"

This reverts commit 04148ee42fd1ea97c573b979b93645b85a0d1add.

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Revert "Adding Missing Elements for the Automotive XML"

This reverts commit 04148ee42fd1ea97c573b979b93645b85a0d1add.

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Revert "Adding Missing Elements for the Automotive XML"

This reverts commit 04148ee42fd1ea97c573b979b93645b85a0d1add.

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Revert "Adding Missing Elements for the Automotive XML"

This reverts commit 04148ee42fd1ea97c573b979b93645b85a0d1add.

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:38 2023 +0200

    Fix expanded zone id for high accuracy zone constraint (#3509)

    - When checking if an expanded zone geofence should be created include the server ID in the comparison as that is what is used everywhere else. Otherwise expanded zones are never added, and as a result high accuracy mode won't work as expected.

commit 97634e3903
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:43:01 2023 +0200

    Fix dialog options for high accuracy zone constraint entity id (#3508)

    Fix dialog for high accuracy zone constraint entity id

     - Zone entity ids can contain underscores, only split on underscores once to keep those that belong to the entity id (string is serverid_entityid). The data was being stored correctly.

commit 87042137a4
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:39:56 2023 +0200

    Fix app lock 'retry' unlocking app (#3507)

    - Only change the time for when the session expires if the app is in use, otherwise the new session expires timestamp might unlock the app

commit 975eaf1ab2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:48:54 2023 -0700

    Fixing Ktlin LInt.

commit 6b33cd727a
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sat Apr 29 11:06:32 2023 -0700

    Set Loading State for Entities

Set Loading State for Entities

Fixing Ktlin LInt.

Stash CHan

Revert "Adding Missing Elements for the Automotive XML"

This reverts commit 04148ee42fd1ea97c573b979b93645b85a0d1add.

Squashed commit of the following:

commit 496cd100f2
Merge: 7dcbcb87 d81913b7
Author: googlvalenzuela <127877770+googlvalenzuela@users.noreply.github.com>
Date:   Mon May 15 11:28:22 2023 -0700

    Merge branch 'master' into HA_Entity_Loading

commit 7dcbcb871c
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Mon May 15 11:27:47 2023 -0700

    Adding arming

commit 5da9518cd2
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:09:55 2023 -0700

    Adding buffering and disarming.

commit 73164e0304
Author: Diego Valenzuela <dvalenzuela@google.com>
Date:   Sun May 14 20:07:24 2023 -0700

    Entity to executing take 2

commit d81913b7ea
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 05:00:56 2023 +0200

    Add throttling/debouncing on Wear OS for registry updates (#3517)

commit 7d6f11af4f
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:51:47 2023 +0200

    Add support for Assist pipeline, update Wear implementation (#3526)

    * Group incoming messages by subscription to prevent out-of-order delivery

     - Messages received on the websocket are processed asynchronously, which is usually fine but can cause issues if messages need to be received in a specific order for a subscription. To fix this, process messages in order for the same subscription.

    * Implement Assist pipeline API

     - Add basic support for the Assist pipeline API
     - Update conversation function to use the Assist pipeline when on the minimum required version
     - Update UI to refer to Assist pipeline requirement

commit 57024e1561
Author: Joris Pelgröm <jpelgrom@users.noreply.github.com>
Date:   Sat May 13 04:45:26 2023 +0200

    Restore reading service data for configured button widgets (#3514)

commit 7e1dc203ec6b8866b1b2e1b3b50e6e214ff…

* Fixing Ktlin

* Using ./gradlew ktlintFormat
This commit is contained in:
googlvalenzuela 2023-05-26 05:30:07 -07:00 committed by GitHub
parent ea81b57271
commit 6352b05b03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 152 additions and 27 deletions

View file

@ -7,6 +7,7 @@ import android.util.Log
import androidx.annotation.RequiresApi
import androidx.car.app.CarAppService
import androidx.car.app.Screen
import androidx.car.app.ScreenManager
import androidx.car.app.Session
import androidx.car.app.SessionInfo
import androidx.car.app.validation.HostValidator
@ -66,12 +67,43 @@ class HaCarAppService : CarAppService() {
)
override fun onCreateScreen(intent: Intent): Screen {
return MainVehicleScreen(
carContext,
serverManager,
serverIdFlow,
entityFlow
) { loadEntities(lifecycleScope, it) }
if (intent.getBooleanExtra("TRANSITION_LAUNCH", false)) {
carContext
.getCarService(ScreenManager::class.java).run {
push(
MainVehicleScreen(
carContext,
serverManager,
serverIdFlow,
entityFlow
) { loadEntities(lifecycleScope, it) }
)
push(
LoginScreen(
carContext,
serverManager
)
)
}
return SwitchToDrivingOptimizedScreen(carContext)
} else {
carContext
.getCarService(ScreenManager::class.java).run {
push(
MainVehicleScreen(
carContext,
serverManager,
serverIdFlow,
entityFlow
) { loadEntities(lifecycleScope, it) }
)
}
return LoginScreen(
carContext,
serverManager
)
}
}
}
}

View file

@ -0,0 +1,78 @@
package io.homeassistant.companion.android.vehicle
import android.content.Intent
import android.content.pm.PackageManager
import androidx.car.app.CarContext
import androidx.car.app.Screen
import androidx.car.app.model.Action
import androidx.car.app.model.MessageTemplate
import androidx.car.app.model.ParkedOnlyOnClickListener
import androidx.car.app.model.Template
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import io.homeassistant.companion.android.common.R
import io.homeassistant.companion.android.common.data.authentication.SessionState
import io.homeassistant.companion.android.common.data.servers.ServerManager
import io.homeassistant.companion.android.launch.LaunchActivity
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
class LoginScreen(context: CarContext, val serverManager: ServerManager) : Screen(context) {
private var isLoggedIn: Boolean? = null
init {
lifecycleScope.launch {
lifecycle.repeatOnLifecycle(Lifecycle.State.STARTED) {
isLoggedIn = serverManager.isRegistered() &&
serverManager.authenticationRepository()
.getSessionState() == SessionState.CONNECTED
invalidate()
while (isLoggedIn != true) {
delay(1000)
isLoggedIn = serverManager.isRegistered() &&
serverManager.authenticationRepository()
.getSessionState() == SessionState.CONNECTED
}
if (isLoggedIn == true) {
screenManager.pop()
}
}
}
}
override fun onGetTemplate(): Template {
return MessageTemplate.Builder(carContext.getString(R.string.aa_app_not_logged_in))
.setTitle(carContext.getString(R.string.app_name))
.setHeaderAction(Action.APP_ICON)
.addAction(
Action.Builder()
.setTitle(carContext.getString(R.string.login))
.setOnClickListener(
ParkedOnlyOnClickListener.create {
startNativeActivity()
}
)
.build()
)
.build()
}
private val isAutomotive get() = carContext.packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)
private fun startNativeActivity() {
with(carContext) {
startActivity(
Intent(
carContext,
LaunchActivity::class.java
).apply {
flags = Intent.FLAG_ACTIVITY_NEW_TASK
}
)
if (isAutomotive) {
finishCarApp()
}
}
}
}

View file

@ -15,8 +15,6 @@ import androidx.car.app.model.CarColor
import androidx.car.app.model.CarIcon
import androidx.car.app.model.ItemList
import androidx.car.app.model.ListTemplate
import androidx.car.app.model.MessageTemplate
import androidx.car.app.model.ParkedOnlyOnClickListener
import androidx.car.app.model.Row
import androidx.car.app.model.Template
import androidx.lifecycle.DefaultLifecycleObserver
@ -130,23 +128,6 @@ class MainVehicleScreen(
}
override fun onGetTemplate(): Template {
if (isLoggedIn == false) {
return MessageTemplate.Builder(carContext.getString(commonR.string.aa_app_not_logged_in))
.setTitle(carContext.getString(commonR.string.app_name))
.setHeaderAction(Action.APP_ICON)
.addAction(
Action.Builder()
.setTitle(carContext.getString(commonR.string.login))
.setOnClickListener(
ParkedOnlyOnClickListener.create {
startNativeActivity()
}
)
.build()
)
.build()
}
val listBuilder = ItemList.Builder()
domains.forEach { domain ->
val friendlyDomain =
@ -287,13 +268,14 @@ class MainVehicleScreen(
car = Car.createCar(carContext)
carRestrictionManager =
car?.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE) as CarUxRestrictionsManager
var listener =
val listener =
CarUxRestrictionsManager.OnUxRestrictionsChangedListener { restrictions ->
invalidate()
}
carRestrictionManager?.registerListener(listener)
}
}
private fun startNativeActivity() {
Log.i(TAG, "Starting login activity")
with(carContext) {

View file

@ -0,0 +1,32 @@
package io.homeassistant.companion.android.vehicle
import android.util.Log
import androidx.car.app.CarContext
import androidx.car.app.Screen
import androidx.car.app.model.Action
import androidx.car.app.model.CarIcon
import androidx.car.app.model.MessageTemplate
import androidx.car.app.model.Template
import io.homeassistant.companion.android.common.R
class SwitchToDrivingOptimizedScreen(carContext: CarContext) : Screen(carContext) {
override fun onGetTemplate(): Template {
Log.i(TAG, "onGetTemplate")
return MessageTemplate.Builder(carContext.getString(R.string.aa_driving_optimized_change))
.setIcon(CarIcon.APP_ICON)
.addAction(
Action.Builder()
.setFlags(Action.FLAG_DEFAULT)
.setTitle(carContext.getString(R.string.continue_connect))
.setOnClickListener {
screenManager.pop()
}
.build()
).build()
}
companion object {
private const val TAG = "DrvOptScreen"
}
}

View file

@ -43,7 +43,7 @@ open class BaseActivity : AppCompatActivity() {
Intent(
this,
Class.forName("androidx.car.app.activity.CarAppActivity")
).addFlags(FLAG_ACTIVITY_NEW_TASK)
).putExtra("TRANSITION_LAUNCH", true).addFlags(FLAG_ACTIVITY_NEW_TASK)
)
overridePendingTransition(
androidx.appcompat.R.anim.abc_slide_in_bottom,

View file

@ -2,6 +2,7 @@
<resources>
<string name="aa_app_not_logged_in">Not logged in</string>
<string name="aa_launch_native">Native mode</string>
<string name="aa_driving_optimized_change">Use Home Assistant in drive mode?</string>
<string name="aa_navigation">Navigation</string>
<string name="aa_no_entities_with_locations">No entities with locations found.</string>
<string name="aa_change_server">Change server</string>