This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configuration { | |
font: "VictorMono Bold 14"; | |
show-icons: true; | |
modi: "drun"; | |
timeout { | |
delay: 30; | |
action: "kb-cancel"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some Home Assistant Helpers which are used in the script: | |
Name: Stereo Volume | |
Entity ID: input_number.stereo_volume | |
Minimum: 1 | |
Maximum: 60 | |
Step Size: 1 | |
Name: Stereo Bass | |
Entity ID: input_number.stereo_bass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { writable } from "svelte/store"; | |
/** | |
* Svelte writable store that stores its value in localStorage. | |
* Does json parsing and stringifying if initial value is an object/array. | |
* | |
* @param {string} key localStorage-key | |
* @param {string|number|boolean|object|array} initialValue the initial value of the store (also the value that can be reset to with the reset() function) | |
**/ | |
export const storable = (key, initialValue) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import appdaemon.plugins.hass.hassapi as hass | |
from time import sleep | |
from threading import Lock | |
# | |
# SMSL Q5 Pro (Amplifier Manager) | |
# Amplifiers like the SMSL Q5 Pro can with this App be controlled with sliders for | |
# volume, bass and treble and an input_select for the input source | |
# | |
# Expected (configuration.yaml): |