mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Remove pragma from discover check. (#68002)
This commit is contained in:
@@ -34,7 +34,7 @@ async def async_setup_platform(
|
||||
) -> None:
|
||||
"""Set up the Modbus sensors."""
|
||||
|
||||
if discovery_info is None: # pragma: no cover
|
||||
if discovery_info is None:
|
||||
return
|
||||
|
||||
sensors: list[ModbusRegisterSensor | SlaveSensor] = []
|
||||
|
||||
Reference in New Issue
Block a user