Skip to content

Commit

Permalink
fix: stop logging debug as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vanstinator committed Jun 1, 2020
1 parent a452ee2 commit b0abd9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/raincloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,8 @@ def unique_id(self):
"""Return the serial combination to create a unique identifier"""

if hasattr(self.data, '_faucet'):
_LOGGER.warning(f"{self.data._faucet.serial}_{self._sensor_type}_{self.data.id}")
return f"{self.data._faucet.serial}_{self._sensor_type}_{self.data.id}"

_LOGGER.error(f"{self.data.id}_{self._sensor_type}")
return f"{self.data.serial}_{self._sensor_type}"

async def async_added_to_hass(self):
Expand Down

0 comments on commit b0abd9a

Please sign in to comment.