nixos/home-assistant: make config.http.server_port an integer

This commit is contained in:
Robert Schütz 2019-02-09 15:24:54 +01:00
parent e9f4c6496d
commit efe98cbdc8

View File

@ -53,7 +53,7 @@ let
# If you are changing this, please update the description in applyDefaultConfig
defaultConfig = {
homeassistant.time_zone = config.time.timeZone;
http.server_port = (toString cfg.port);
http.server_port = cfg.port;
} // optionalAttrs (cfg.lovelaceConfig != null) {
lovelace.mode = "yaml";
};