Skip to content

Commit

Permalink
Add message for invalid configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed Jan 18, 2022
1 parent 4a4ff08 commit 7ce8b33
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3322,6 +3322,12 @@ def log_invalid_sequence(
),
)

def log_bad_config(self, msg: str, data: str, level=WARNING) -> None:
"""Warn invalid configuration data"""
self._output(
level, "CONFIG Invalid configuration: msg: {0}, data: {1}".format(msg, data)
)


class IUCoordinator:
"""Irrigation Unimited Coordinator class"""
Expand Down

0 comments on commit 7ce8b33

Please sign in to comment.