File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
homeassistant/components/lamarzocco Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class LaMarzoccoBinarySensorEntityDescription(
70
70
),
71
71
entity_category = EntityCategory .DIAGNOSTIC ,
72
72
supported_fn = lambda coordinator : (
73
- coordinator .device .dashboard .model_name != ModelName .GS3_MP
73
+ coordinator .device .dashboard .model_name is not ModelName .GS3_MP
74
74
),
75
75
),
76
76
LaMarzoccoBinarySensorEntityDescription (
Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ class LaMarzoccoSensorEntityDescription(
113
113
).last_cleaning_start_time
114
114
),
115
115
entity_category = EntityCategory .DIAGNOSTIC ,
116
+ supported_fn = (
117
+ lambda coordinator : coordinator .device .dashboard .model_name
118
+ is not ModelName .GS3_MP
119
+ ),
116
120
),
117
121
)
118
122
You can’t perform that action at this time.
0 commit comments