Fix typo in tuya select (#78881)

This commit is contained in:
epenet
2022-09-21 13:27:11 +02:00
committed by GitHub
parent 9e7c03af56
commit a605b6bcf1

View File

@@ -397,7 +397,7 @@ class TuyaSelectEntity(TuyaEntity, SelectEntity):
self.entity_description = description
self._attr_unique_id = f"{super().unique_id}{description.key}"
self._attr_opions: list[str] = []
self._attr_options: list[str] = []
if enum_type := self.find_dpcode(
description.key, dptype=DPType.ENUM, prefer_function=True
):