Skip to content

Commit

Permalink
Fix name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mictronics committed Jun 28, 2024
1 parent d423d52 commit e5dc782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/meshtastic2hass/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self):
self.parser = None
self.loop = None
self.mqtt = None
self.special_chars = r'[!]'
self.specialChars = r'[!]'
# Home Assistant sensor configuration send via MQTT.
self.mqttSensors = [
dict(
Expand Down Expand Up @@ -257,4 +257,4 @@ def getChannelList(self):

def getSpecialChars(self):
"""Get a regex pattern of special characters to be removed from strings"""
return self.special_chars
return self.specialChars

0 comments on commit e5dc782

Please sign in to comment.