run lint --fix
This commit is contained in:
parent
c3fa87a869
commit
6fcc9b44fe
1 changed files with 25 additions and 25 deletions
|
|
@ -14,7 +14,7 @@ const topic_bulb = (bulb: string, argument: string) => ({
|
||||||
type: types.string
|
type: types.string
|
||||||
},
|
},
|
||||||
defaultValue: "0"
|
defaultValue: "0"
|
||||||
},
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const slider_rgb = (bulb: string, argument: string) => (
|
const slider_rgb = (bulb: string, argument: string) => (
|
||||||
|
|
@ -64,16 +64,16 @@ const config: Config = {
|
||||||
*zigbee2mqtt/bulb_bedroom
|
*zigbee2mqtt/bulb_bedroom
|
||||||
*/
|
*/
|
||||||
|
|
||||||
...topic_bulb("livingroom","r"),
|
...topic_bulb("livingroom", "r"),
|
||||||
...topic_bulb("livingroom","g"),
|
...topic_bulb("livingroom", "g"),
|
||||||
...topic_bulb("livingroom","b"),
|
...topic_bulb("livingroom", "b"),
|
||||||
...topic_bulb("livingroom","h"),
|
...topic_bulb("livingroom", "h"),
|
||||||
...topic_bulb("livingroom","s"),
|
...topic_bulb("livingroom", "s"),
|
||||||
...topic_bulb("livingroom","v"),
|
...topic_bulb("livingroom", "v"),
|
||||||
...topic_bulb("livingroom","x"),
|
...topic_bulb("livingroom", "x"),
|
||||||
...topic_bulb("livingroom","y"),
|
...topic_bulb("livingroom", "y"),
|
||||||
...topic_bulb("livingroom","animation-speed"),
|
...topic_bulb("livingroom", "animation-speed"),
|
||||||
...topic_bulb("livingroom","mode"),
|
...topic_bulb("livingroom", "mode"),
|
||||||
livingroomBrightness: {
|
livingroomBrightness: {
|
||||||
state: {
|
state: {
|
||||||
name: "home-rust/bulb/livingroom/brightness",
|
name: "home-rust/bulb/livingroom/brightness",
|
||||||
|
|
@ -234,7 +234,7 @@ const config: Config = {
|
||||||
"3": "RGB Fade",
|
"3": "RGB Fade",
|
||||||
"4": "Work"
|
"4": "Work"
|
||||||
},
|
},
|
||||||
icon: mdi("settings"),
|
icon: mdi("settings")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "section",
|
type: "section",
|
||||||
|
|
@ -244,19 +244,19 @@ const config: Config = {
|
||||||
.concat(slider_rgb("livingroom", "g"))
|
.concat(slider_rgb("livingroom", "g"))
|
||||||
.concat(slider_rgb("livingroom", "b"))
|
.concat(slider_rgb("livingroom", "b"))
|
||||||
.concat([
|
.concat([
|
||||||
{
|
{
|
||||||
type: "section",
|
type: "section",
|
||||||
text: "HSV"
|
text: "HSV"
|
||||||
}
|
}
|
||||||
]).concat(slider_h("livingroom", "h"))
|
]).concat(slider_h("livingroom", "h"))
|
||||||
.concat(slider_svxy("livingroom", "s"))
|
.concat(slider_svxy("livingroom", "s"))
|
||||||
.concat(slider_svxy("livingroom", "v"))
|
.concat(slider_svxy("livingroom", "v"))
|
||||||
.concat([
|
.concat([
|
||||||
{
|
{
|
||||||
type: "section",
|
type: "section",
|
||||||
text: "XY"
|
text: "XY"
|
||||||
}
|
}
|
||||||
]).concat(slider_svxy("livingroom", "x"))
|
]).concat(slider_svxy("livingroom", "x"))
|
||||||
.concat(slider_svxy("livingroom", "y"))
|
.concat(slider_svxy("livingroom", "y"))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue