mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: hass mpd integration
This commit is contained in:
parent
72d2161419
commit
c1dc88c366
1 changed files with 14 additions and 0 deletions
|
|
@ -49,6 +49,10 @@ in {
|
|||
path = "secrets/home-assistant";
|
||||
field = "iphone-se-irk";
|
||||
};
|
||||
secrets.variables.mpd-shanghai-password = {
|
||||
path = "secrets/home-assistant";
|
||||
field = "mpd-shanghai-password";
|
||||
};
|
||||
|
||||
|
||||
secrets.files.home-assistant-secrets = {
|
||||
|
|
@ -57,6 +61,7 @@ in {
|
|||
longitude = tf.variables.longitude.ref;
|
||||
elevation = tf.variables.elevation.ref;
|
||||
iphone-se-irk = tf.variables.iphone-se-irk.ref;
|
||||
mpd-shanghai-password = tf.variables.mpd-shanghai-password.ref;
|
||||
};
|
||||
owner = "hass";
|
||||
group = "hass";
|
||||
|
|
@ -216,6 +221,14 @@ in {
|
|||
logbook = {};
|
||||
map = {};
|
||||
media_source = {};
|
||||
media_player = [
|
||||
{
|
||||
platform = "mpd";
|
||||
name = "Shanghai MPD";
|
||||
host = "10.1.1.32";
|
||||
password = "!secret mpd-shanghai-password";
|
||||
}
|
||||
];
|
||||
mobile_app = {};
|
||||
my = {};
|
||||
person = {};
|
||||
|
|
@ -273,6 +286,7 @@ in {
|
|||
"google_cloud"
|
||||
"google_translate"
|
||||
"homekit"
|
||||
"mpd"
|
||||
"mqtt"
|
||||
"wake_on_lan"
|
||||
"zeroconf"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue