Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/google_sheets/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _append_to_sheet(call: ServiceCall, entry: GoogleSheetsConfigEntry) -> None:
raise HomeAssistantError("Failed to write data") from ex

worksheet = sheet.worksheet(call.data.get(WORKSHEET, sheet.sheet1.title))
columns: list[str] = next(iter(worksheet.get_values("A1:ZZ1")), [])
columns: list[str] = next(iter(worksheet.get_values("1:1")), [])
Comment thread
luca-angemi marked this conversation as resolved.
add_created_column = call.data[ADD_CREATED_COLUMN]
now = str(dt_util.now())
rows = []
Expand Down