Remove unnecessary signal during zwave_js.reset_meter service call (#54837)
This commit is contained in:
parent
e7a0604a40
commit
08193169d0
1 changed files with 1 additions and 13 deletions
|
@ -31,10 +31,7 @@ from homeassistant.const import (
|
|||
)
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.helpers import entity_platform
|
||||
from homeassistant.helpers.dispatcher import (
|
||||
async_dispatcher_connect,
|
||||
async_dispatcher_send,
|
||||
)
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from .const import ATTR_METER_TYPE, ATTR_VALUE, DATA_CLIENT, DOMAIN, SERVICE_RESET_METER
|
||||
|
@ -256,15 +253,6 @@ class ZWaveMeterSensor(ZWaveNumericSensor):
|
|||
options,
|
||||
)
|
||||
|
||||
# Notify meters that may have been reset
|
||||
async_dispatcher_send(
|
||||
self.hass,
|
||||
f"{DOMAIN}_{SERVICE_RESET_METER}",
|
||||
node,
|
||||
primary_value.endpoint,
|
||||
options.get("type"),
|
||||
)
|
||||
|
||||
|
||||
class ZWaveListSensor(ZwaveSensorBase):
|
||||
"""Representation of a Z-Wave Numeric sensor with multiple states."""
|
||||
|
|
Loading…
Add table
Reference in a new issue