Skip to content

Commit

Permalink
Remove 'operating' binary_sensor from Enphase Envoy
Browse files Browse the repository at this point in the history
  • Loading branch information
cgarwood committed Aug 19, 2023
1 parent e81edea commit a8c21a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
12 changes: 0 additions & 12 deletions homeassistant/components/enphase_envoy/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ class EnvoyEnchargeBinarySensorEntityDescription(
entity_category=EntityCategory.DIAGNOSTIC,
value_fn=lambda encharge: not encharge.dc_switch_off,
),
EnvoyEnchargeBinarySensorEntityDescription(
key="operating",
translation_key="operating",
entity_category=EntityCategory.DIAGNOSTIC,
value_fn=lambda encharge: encharge.operating,
),
)

RELAY_STATUS_SENSOR = BinarySensorEntityDescription(
Expand Down Expand Up @@ -88,12 +82,6 @@ class EnvoyEnpowerBinarySensorEntityDescription(
entity_category=EntityCategory.DIAGNOSTIC,
value_fn=lambda enpower: enpower.communicating,
),
EnvoyEnpowerBinarySensorEntityDescription(
key="operating",
translation_key="operating",
entity_category=EntityCategory.DIAGNOSTIC,
value_fn=lambda enpower: enpower.operating,
),
EnvoyEnpowerBinarySensorEntityDescription(
key="mains_oper_state",
translation_key="grid_status",
Expand Down
3 changes: 0 additions & 3 deletions homeassistant/components/enphase_envoy/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
"dc_switch": {
"name": "DC switch"
},
"operating": {
"name": "Operating"
},
"grid_status": {
"name": "Grid status"
},
Expand Down

0 comments on commit a8c21a0

Please sign in to comment.