mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 07:05:48 +01:00
Add missing dataclass decorator [fivem] (#66505)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
"""The FiveM binary sensor platform."""
|
||||
from dataclasses import dataclass
|
||||
|
||||
from homeassistant.components.binary_sensor import (
|
||||
BinarySensorDeviceClass,
|
||||
BinarySensorEntity,
|
||||
@@ -12,6 +14,7 @@ from . import FiveMEntity, FiveMEntityDescription
|
||||
from .const import DOMAIN, NAME_STATUS
|
||||
|
||||
|
||||
@dataclass
|
||||
class FiveMBinarySensorEntityDescription(
|
||||
BinarySensorEntityDescription, FiveMEntityDescription
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user