Rewrite statusled implementation.
- Read it now from app.config JSON file. - Allow for inverted status leds (Sonoff et al) - Clean up unit tests.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "Sonoff Basic, S20, SV, RF, TH, Touch",
|
||||
"status_led": 13,
|
||||
"statusled": 13,
|
||||
"statusled_invert": true,
|
||||
"channels": [
|
||||
{ "led": -1, "relay": 12, "button": 0 }
|
||||
]
|
||||
|
Reference in New Issue
Block a user