Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Change warn log message for gateway entities
Browse files Browse the repository at this point in the history
  • Loading branch information
droscy committed Nov 2, 2022
1 parent 07502a3 commit bb8e9b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/daikin_residential/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@

_LOGGER = logging.getLogger(__name__)

if not ENTITY_CATEGORY_DIAGNOSTIC:
_LOGGER.warn('You have and older version of Home Assistant, '
'some feature of this integration may not be available')
if ENTITY_CATEGORY_DIAGNOSTIC is None:
_LOGGER.warn('You have and old version of Home Assistant, '
'some features of this integration may not be available')


async def async_setup(hass, async_add_entities):
Expand Down

0 comments on commit bb8e9b7

Please sign in to comment.