Skip to content

Server trust feature#3410

Merged
JBassett merged 2 commits into
home-assistant:masterfrom
jpelgrom:trust-server
Mar 15, 2023
Merged

Server trust feature#3410
JBassett merged 2 commits into
home-assistant:masterfrom
jpelgrom:trust-server

Conversation

@jpelgrom
Copy link
Copy Markdown
Member

@jpelgrom jpelgrom commented Mar 8, 2023

Summary

This PR adds a feature that allows you to (dis)trust a server, or as it is named in the app choose whether the server can remotely control the app & device.

With multiserver you might add servers to the app for convenient access or push notifications, but you don't want them to receive and manage (all) your sensors and device like for your primary server. You can already for example disable sensors for a particular server, but what is the point if you can turn them back on remotely? This could expose data you don't want to.

Disabling this option (default is enabled to match current behavior) will stop the following features:

  • Use notification commands to manage device features and sensor settings
  • Enable/disable sensors from the server

As an intended side effect, when you don't trust a server and have disabled all sensors, the app will also stop fetching enabled sensors on the server in the worker (a request I've seen multiple times after it was added).

The goal is to have one toggle for all these 'remote control features'. A few users might want to fine tune the behavior but with the number of notification commands and other automatic integrations in the app this will quickly grow out of control.

Screenshots

Light Dark
App setting with remote control icon titled 'Remotely control app & device', description 'Manage enabled sensors and use notification commands from this server', light mode App setting with remote control icon titled 'Remotely control app & device', description 'Manage enabled sensors and use notification commands from this server', dark mode

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#924

Any other notes

@JBassett JBassett merged commit 1a7091a into home-assistant:master Mar 15, 2023
@jpelgrom jpelgrom deleted the trust-server branch March 16, 2023 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants