Commit e5f0d33
committed
Prevent error if value is None
File "/config/custom_components/luxtronik2/common.py", line 81, in correct_key_value
value = value.replace(" ", "_").replace("/", "_").lower()
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'replace'1 parent c5b7167 commit e5f0d33
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
0 commit comments