143 lines
4.7 KiB
JSON
143 lines
4.7 KiB
JSON
{
|
|
"entity": {
|
|
"sensor": {
|
|
"album_asset_count": {
|
|
"name": "{album_name}: Asset Count"
|
|
},
|
|
"album_photo_count": {
|
|
"name": "{album_name}: Photo Count"
|
|
},
|
|
"album_video_count": {
|
|
"name": "{album_name}: Video Count"
|
|
},
|
|
"album_last_updated": {
|
|
"name": "{album_name}: Last Updated"
|
|
},
|
|
"album_created": {
|
|
"name": "{album_name}: Created"
|
|
},
|
|
"album_public_url": {
|
|
"name": "{album_name}: Public URL"
|
|
},
|
|
"album_protected_url": {
|
|
"name": "{album_name}: Protected URL"
|
|
},
|
|
"album_protected_password": {
|
|
"name": "{album_name}: Protected Password"
|
|
}
|
|
},
|
|
"binary_sensor": {
|
|
"album_new_assets": {
|
|
"name": "{album_name}: New Assets"
|
|
}
|
|
},
|
|
"camera": {
|
|
"album_thumbnail": {
|
|
"name": "{album_name}: Thumbnail"
|
|
}
|
|
},
|
|
"text": {
|
|
"album_protected_password_edit": {
|
|
"name": "{album_name}: Share Password"
|
|
}
|
|
},
|
|
"button": {
|
|
"create_share_link": {
|
|
"name": "{album_name}: Create Share Link"
|
|
},
|
|
"delete_share_link": {
|
|
"name": "{album_name}: Delete Share Link"
|
|
},
|
|
"create_protected_link": {
|
|
"name": "{album_name}: Create Protected Link"
|
|
},
|
|
"delete_protected_link": {
|
|
"name": "{album_name}: Delete Protected Link"
|
|
}
|
|
}
|
|
},
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Connect to Immich",
|
|
"description": "Enter your Immich server details. You can get an API key from Immich → User Settings → API Keys.",
|
|
"data": {
|
|
"hub_name": "Hub Name",
|
|
"immich_url": "Immich URL",
|
|
"api_key": "API Key"
|
|
},
|
|
"data_description": {
|
|
"hub_name": "A name for this Immich server (used in entity IDs)",
|
|
"immich_url": "The URL of your Immich server (e.g., http://192.168.1.100:2283)",
|
|
"api_key": "Your Immich API key"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to Immich server",
|
|
"invalid_auth": "Invalid API key",
|
|
"no_albums": "No albums found on the server",
|
|
"unknown": "Unexpected error occurred"
|
|
},
|
|
"abort": {
|
|
"already_configured": "This Immich server is already configured"
|
|
}
|
|
},
|
|
"config_subentries": {
|
|
"album": {
|
|
"initiate_flow": {
|
|
"user": "Add Album"
|
|
},
|
|
"entry_type": "Album",
|
|
"step": {
|
|
"user": {
|
|
"title": "Add Album to Watch",
|
|
"description": "Select an album from your Immich server to monitor for changes.",
|
|
"data": {
|
|
"album_id": "Album"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to Immich server"
|
|
},
|
|
"abort": {
|
|
"parent_not_found": "Hub configuration not found",
|
|
"no_albums": "No albums found on the server",
|
|
"all_albums_configured": "All albums are already configured",
|
|
"album_already_configured": "This album is already being watched"
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "Immich Album Watcher Options",
|
|
"description": "Configure the polling interval for all albums.",
|
|
"data": {
|
|
"scan_interval": "Scan interval (seconds)"
|
|
},
|
|
"data_description": {
|
|
"scan_interval": "How often to check for album changes (10-3600 seconds)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"refresh": {
|
|
"name": "Refresh",
|
|
"description": "Force an immediate refresh of album data from Immich."
|
|
},
|
|
"get_recent_assets": {
|
|
"name": "Get Recent Assets",
|
|
"description": "Get the most recent assets from the targeted album.",
|
|
"fields": {
|
|
"count": {
|
|
"name": "Count",
|
|
"description": "Number of recent assets to return (1-100)."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|