mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-12 01:24:29 +05:00
- add rgbw support
- add ws28 support - add transitions to pwm - add units of measurement for all i2c sensors - remove mqtt support
This commit is contained in:
@@ -44,6 +44,9 @@ def parse_config(page: str):
|
||||
v = page.find('input', attrs={'name': x})
|
||||
if v:
|
||||
ret[x] = v['value']
|
||||
smooth = page.find('input', attrs={'name': 'misc'})
|
||||
if smooth is None or smooth.get('checked') is None:
|
||||
ret['misc'] = None
|
||||
return Config(**ret, src=page)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user