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";
|
path = "secrets/home-assistant";
|
||||||
field = "iphone-se-irk";
|
field = "iphone-se-irk";
|
||||||
};
|
};
|
||||||
|
secrets.variables.mpd-shanghai-password = {
|
||||||
|
path = "secrets/home-assistant";
|
||||||
|
field = "mpd-shanghai-password";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
secrets.files.home-assistant-secrets = {
|
secrets.files.home-assistant-secrets = {
|
||||||
|
|
@ -57,6 +61,7 @@ in {
|
||||||
longitude = tf.variables.longitude.ref;
|
longitude = tf.variables.longitude.ref;
|
||||||
elevation = tf.variables.elevation.ref;
|
elevation = tf.variables.elevation.ref;
|
||||||
iphone-se-irk = tf.variables.iphone-se-irk.ref;
|
iphone-se-irk = tf.variables.iphone-se-irk.ref;
|
||||||
|
mpd-shanghai-password = tf.variables.mpd-shanghai-password.ref;
|
||||||
};
|
};
|
||||||
owner = "hass";
|
owner = "hass";
|
||||||
group = "hass";
|
group = "hass";
|
||||||
|
|
@ -216,6 +221,14 @@ in {
|
||||||
logbook = {};
|
logbook = {};
|
||||||
map = {};
|
map = {};
|
||||||
media_source = {};
|
media_source = {};
|
||||||
|
media_player = [
|
||||||
|
{
|
||||||
|
platform = "mpd";
|
||||||
|
name = "Shanghai MPD";
|
||||||
|
host = "10.1.1.32";
|
||||||
|
password = "!secret mpd-shanghai-password";
|
||||||
|
}
|
||||||
|
];
|
||||||
mobile_app = {};
|
mobile_app = {};
|
||||||
my = {};
|
my = {};
|
||||||
person = {};
|
person = {};
|
||||||
|
|
@ -273,6 +286,7 @@ in {
|
||||||
"google_cloud"
|
"google_cloud"
|
||||||
"google_translate"
|
"google_translate"
|
||||||
"homekit"
|
"homekit"
|
||||||
|
"mpd"
|
||||||
"mqtt"
|
"mqtt"
|
||||||
"wake_on_lan"
|
"wake_on_lan"
|
||||||
"zeroconf"
|
"zeroconf"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue