# Compare all devices for the last day
shelly energy compare
# Compare specific devices for the last week
shelly energy compare --devices kitchen,living-room,garage --period week
# Compare for a specific date range
shelly energy compare --from "2025-01-01" --to "2025-01-07"
# Output as JSON
shelly energy compare -o json
--devices strings Devices to compare (default: all registered)
--from string Start time (RFC3339 or YYYY-MM-DD)
-h, --help help for compare
-p, --period string Time period (hour, day, week, month) (default "day")
--to string End time (RFC3339 or YYYY-MM-DD)