Merge pull request #48 from arcnmx/hass-mpd

feat: hass mpd integration
This commit is contained in:
Kat Inskip 2022-10-07 09:55:02 -07:00 committed by GitHub
commit 678281c56f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";
@ -226,6 +231,14 @@ in {
schedule = {};
map = {};
media_source = {};
media_player = [
{
platform = "mpd";
name = "Shanghai MPD";
host = "10.1.1.32";
password = "!secret mpd-shanghai-password";
}
];
mobile_app = {};
my = {};
person = {};
@ -287,6 +300,7 @@ in {
"google_cloud"
"google_translate"
"homekit"
"mpd"
"mqtt"
"wake_on_lan"
"zeroconf"