mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 12:01:25 +00:00
🔨 Re-branding of the Supervisor API (#16)
* 🔨 Re-branding of the Supervisor API * 🚑 Fix typo in the supervisor token
This commit is contained in:
parent
5c7f2914cd
commit
a4b2a4cc1a
15 changed files with 196 additions and 196 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue