Remove rstrip from ecobee binary_sensor __init__ (#118062)

This commit is contained in:
Brent Petit 2024-06-21 06:40:26 -05:00 committed by GitHub
parent 225e90c99e
commit 901317ec39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ class EcobeeBinarySensor(BinarySensorEntity):
def __init__(self, data, sensor_name, sensor_index):
"""Initialize the Ecobee sensor."""
self.data = data
self.sensor_name = sensor_name.rstrip()
self.sensor_name = sensor_name
self.index = sensor_index
@property