mirror of
https://github.com/home-assistant/core.git
synced 2026-12-03 04:08:19 -04:00
Adjust pylint tests to use renamed climate properties (#184845)
This commit is contained in:
@@ -591,7 +591,7 @@ class MySensor(Entity):
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
class MyClimateMixin(Entity):
|
||||
_attr_temperature_unit = "C"
|
||||
_attr_native_temperature_unit = "C"
|
||||
|
||||
class ActualEntity(MyClimateMixin):
|
||||
_attr_unique_id = "x"
|
||||
|
||||
@@ -580,7 +580,7 @@ def test_mixin_subclassed_in_same_module_ignored(
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
class MyClimateMixin(Entity):
|
||||
_attr_temperature_unit = "C"
|
||||
_attr_native_temperature_unit = "C"
|
||||
|
||||
class ActualEntity(MyClimateMixin):
|
||||
_attr_has_entity_name = True
|
||||
|
||||
Reference in New Issue
Block a user