HASS.Agent
HASS.Agent copied to clipboard
Feature: Make Home Assistant API connection optional
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
In some PCs, I only want to be able to get sensors and issue commands via MQTT, ie no need for HA API connection. In those cases, I don't want to open up an API connection (for security reasons, to avoid access to entities unnecessarily, ...). MQTT is the only interface I need.
Rather than configuring a non-working URL and/or API token, is it possible to have a configuration (eg tick a box) that allows me to disable the Home Assistant API (similar to the current ability to disable Local API. I don't know if there are any unintended effects of configuring non-working URL/API tokens, eg filling up logs with connection errors, etc
Describe the solution you'd like A clear and concise description of what you want to happen.
Provide an option to enable/disable Home Assistant API (similar to what is currently available for Local API)
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Configuring non-working URL/API token, but unsure if this has any bad effects like filling up logs regularly with connection attempts.
Additional context Add any other context or screenshots about the feature request here.
will be good enhancement, i only use it to report battery/mic/locked status via mqtt