Skip to content

Commit

Permalink
add device model name
Browse files Browse the repository at this point in the history
  • Loading branch information
knyghtryda committed Jan 19, 2024
1 parent e7dc53e commit 5b6be99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/ecoflow_cloud/mqtt/ecoflow_mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def __init__(self, hass: HomeAssistant, entry: ConfigEntry, auth: EcoflowAuthent
identifiers={(DOMAIN, self.device_sn)},
manufacturer="EcoFlow",
name=entry.title,
model=self.device_type,
)

self.client = mqtt_client.Client(client_id=f'ANDROID_-{str(uuid.uuid4()).upper()}_{auth.user_id}',
Expand Down

0 comments on commit 5b6be99

Please sign in to comment.