shack/glados: remove version, google -> google_translate

This commit is contained in:
makefu 2019-11-07 09:47:29 +01:00
parent 42694196ee
commit 16e1495490
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -39,8 +39,6 @@ in {
})).override { })).override {
extraPackages = ps: with ps; [ extraPackages = ps: with ps; [
python-forecastio jsonrpc-async jsonrpc-websocket mpd2 python-forecastio jsonrpc-async jsonrpc-websocket mpd2
(callPackage ./deps/gtts-token.nix { })
(callPackage ./deps/pyhaversion.nix { })
]; ];
}; };
autoExtraComponents = true; autoExtraComponents = true;
@ -99,8 +97,7 @@ in {
]; ];
sensor = sensor =
[{ platform = "version"; }] (import ./sensors/hass.nix)
++ (import ./sensors/hass.nix)
++ (import ./sensors/power.nix) ++ (import ./sensors/power.nix)
++ shackopen.sensor; ++ shackopen.sensor;
@ -109,8 +106,8 @@ in {
camera = []; camera = [];
frontend = { }; frontend = { };
config = { };
http = { http = {
# TODO: https://github.com/home-assistant/home-assistant/issues/16149
base_url = "http://hass.shack"; base_url = "http://hass.shack";
use_x_forwarded_for = true; use_x_forwarded_for = true;
trusted_proxies = "127.0.0.1"; trusted_proxies = "127.0.0.1";
@ -119,7 +116,7 @@ in {
#history = {}; #history = {};
#logbook = {}; #logbook = {};
tts = [ tts = [
{ platform = "google"; { platform = "google_translate";
language = "de"; language = "de";
} }
#{ platform = "picotts"; #{ platform = "picotts";