Do not use internal and actual values anymore (Fixes #42)

This commit is contained in:
uwap 2018-06-28 21:25:06 +02:00
parent b40f4a774e
commit c0117fa7d6
13 changed files with 421 additions and 393 deletions

View file

@ -1,6 +1,7 @@
// @flow
import type { Config } from "config/flowtypes";
import { hex, rgb, rgba, rainbow } from "config/colors";
import * as types from "config/types";
import { mdi } from "config/icon";
import { esper_topics, esper_statistics } from "./utils";
@ -13,16 +14,18 @@ const config : Config = {
topics: [
{
hauptraum_table_light: {
command: "/public/sensoren/TPH/leinwand/control",
state: "test",
defaultValue: "A1 ON",
values: { on: "A1 ON", off: "A1 OFF" }
command: {
name: "/public/sensoren/TPH/leinwand/control",
type: types.option({ "A1 ON": "on", "A1 OFF": "off" })
},
defaultValue: "off"
},
hauptraum_table_light_on_hack: {
command: "/public/sensoren/TPH/leinwand/control",
state: "test",
defaultValue: "A1 OFF",
values: { on: "A1 ON", off: "A1 OFF" }
command: {
name: "/public/sensoren/TPH/leinwand/control",
type: types.option({ "A1 ON": "on", "A1 OFF": "off" })
},
defaultValue: "on"
}
}
],