109 lines
3.6 KiB
JSON
109 lines
3.6 KiB
JSON
{
|
|
"entity": {
|
|
"sensor": {
|
|
"album_id": {
|
|
"name": "{album_name}: Album ID"
|
|
},
|
|
"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_people_count": {
|
|
"name": "{album_name}: People Count"
|
|
}
|
|
},
|
|
"binary_sensor": {
|
|
"album_new_assets": {
|
|
"name": "{album_name}: New Assets"
|
|
}
|
|
},
|
|
"camera": {
|
|
"album_thumbnail": {
|
|
"name": "{album_name}: Thumbnail"
|
|
}
|
|
}
|
|
},
|
|
"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": {
|
|
"immich_url": "Immich URL",
|
|
"api_key": "API Key"
|
|
},
|
|
"data_description": {
|
|
"immich_url": "The URL of your Immich server (e.g., http://192.168.1.100:2283)",
|
|
"api_key": "Your Immich API key"
|
|
}
|
|
},
|
|
"albums": {
|
|
"title": "Select Albums",
|
|
"description": "Choose which albums to monitor for changes.",
|
|
"data": {
|
|
"albums": "Albums to watch"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to Immich server",
|
|
"invalid_auth": "Invalid API key",
|
|
"no_albums": "No albums found on the server",
|
|
"no_albums_selected": "Please select at least one album",
|
|
"unknown": "Unexpected error occurred"
|
|
},
|
|
"abort": {
|
|
"already_configured": "This Immich server is already configured"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "Immich Album Watcher Options",
|
|
"description": "Configure which albums to monitor and how often to check for changes.",
|
|
"data": {
|
|
"albums": "Albums to watch",
|
|
"scan_interval": "Scan interval (seconds)"
|
|
},
|
|
"data_description": {
|
|
"scan_interval": "How often to check for album changes (10-3600 seconds)"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to Immich server"
|
|
}
|
|
},
|
|
"services": {
|
|
"refresh": {
|
|
"name": "Refresh",
|
|
"description": "Force an immediate refresh of all album data from Immich."
|
|
},
|
|
"get_recent_assets": {
|
|
"name": "Get Recent Assets",
|
|
"description": "Get the most recent assets from a specific album.",
|
|
"fields": {
|
|
"album_id": {
|
|
"name": "Album ID",
|
|
"description": "The ID of the album to get recent assets from."
|
|
},
|
|
"count": {
|
|
"name": "Count",
|
|
"description": "Number of recent assets to return (1-100)."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|