Add missing units for xpercent
, xfreq
and xcounts
Shelly sensors (#124288)
This commit is contained in:
parent
76182c246d
commit
d8fe3c5377
3 changed files with 76 additions and 6 deletions
|
@ -166,8 +166,20 @@ MOCK_BLOCKS = [
|
|||
|
||||
MOCK_CONFIG = {
|
||||
"input:0": {"id": 0, "name": "Test name input 0", "type": "button"},
|
||||
"input:1": {"id": 1, "type": "analog", "enable": True},
|
||||
"input:2": {"id": 2, "name": "Gas", "type": "count", "enable": True},
|
||||
"input:1": {
|
||||
"id": 1,
|
||||
"type": "analog",
|
||||
"enable": True,
|
||||
"xpercent": {"expr": None, "unit": None},
|
||||
},
|
||||
"input:2": {
|
||||
"id": 2,
|
||||
"name": "Gas",
|
||||
"type": "count",
|
||||
"enable": True,
|
||||
"xcounts": {"expr": None, "unit": None},
|
||||
"xfreq": {"expr": None, "unit": None},
|
||||
},
|
||||
"light:0": {"name": "test light_0"},
|
||||
"light:1": {"name": "test light_1"},
|
||||
"light:2": {"name": "test light_2"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue