🔨 Re-branding of the Supervisor API (#16)

* 🔨 Re-branding of the Supervisor API

* 🚑 Fix typo in the supervisor token
This commit is contained in:
Franck Nijhof 2020-02-09 00:16:29 +01:00 committed by GitHub
parent 5c7f2914cd
commit a4b2a4cc1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 196 additions and 196 deletions

View file

@ -30,7 +30,7 @@ function bashio::hardware() {
if bashio::cache.exists 'hardware.info'; then
info=$(bashio::cache.get 'hardware.info')
else
info=$(bashio::api.hassio GET /hardware/info false)
info=$(bashio::api.supervisor GET /hardware/info false)
bashio::cache.set 'hardware.info' "${info}"
fi
@ -82,5 +82,5 @@ function bashio::hardware.gpio() {
# ------------------------------------------------------------------------------
function bashio::hardware.trigger() {
bashio::log.trace "${FUNCNAME[0]}"
bashio::api.hassio POST /hardware/trigger
bashio::api.supervisor POST /hardware/trigger
}